Skip to content

Commit c42a3bf

Browse files
alexander-akaitjonathantneal
authored andcommitted
test: throw on bad syntax instead hangs
1 parent 1088303 commit c42a3bf

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/__tests__/exceptions.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ throws('bad pseudo element', 'button::"after"');
1919
throws('missing closing parenthesis in pseudo', ':not([attr="test"]:not([attr="test"])');
2020

2121
throws('bad syntax', '-moz-osx-font-smoothing: grayscale');
22+
throws('bad syntax (2)', '! .body');
2223

2324
throws('missing backslash for semicolon', '.;');
2425
throws('missing backslash for semicolon (2)', '.\;');

0 commit comments

Comments
 (0)