diff --git a/modules/angular2/test/core/compiler/shadow_css_spec.ts b/modules/angular2/test/core/compiler/shadow_css_spec.ts index 4400617ceb..48588eb937 100644 --- a/modules/angular2/test/core/compiler/shadow_css_spec.ts +++ b/modules/angular2/test/core/compiler/shadow_css_spec.ts @@ -164,5 +164,11 @@ export function main() { expect(css).toEqual(styleStr); }); } + + it('should leave calc() unchanged', () => { + var styleStr = 'a {height:calc(100% - 55px);}'; + var css = s(styleStr, 'a'); + expect(css).toEqual(styleStr); + }); }); }