chore: add test showing CSS calc() failure

This commit is contained in:
Yegor Jbanov 2015-10-15 12:15:42 -07:00
parent 491e1fdd2c
commit 77604b8b18
1 changed files with 6 additions and 0 deletions

View File

@ -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);
});
});
}