Skip to content

Commit e2434b3

Browse files
committed
Leading factorial/percentage tests
1 parent 3895c2e commit e2434b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/parsing-test.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,6 +97,8 @@ tape('errors', (test) => {
9797
test.throws(() => expr('2 =').collapse());
9898
test.throws(() => expr('2 = 1 =').collapse());
9999
test.throws(() => expr('< 1').collapse());
100+
test.throws(() => expr('!2').collapse());
101+
test.throws(() => expr('%2').collapse());
100102
test.end();
101103
});
102104

0 commit comments

Comments
 (0)