Skip to content

Commit

Permalink
add a test
Browse files Browse the repository at this point in the history
  • Loading branch information
bakkot committed Sep 18, 2024
1 parent bdacf63 commit a9e4793
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions test/typecheck.js
Original file line number Diff line number Diff line change
Expand Up @@ -1551,6 +1551,13 @@ describe('type system', () => {
'NormalCompletion(*false*)',
[completionBiblio],
);

await assertNoTypeError(
'either a normal completion containing an ECMAScript language value or an abrupt completion',
'NormalCompletion(*false*)',
[completionBiblio],
);

await assertNoTypeError('a Boolean', '! Throwy()', [completionBiblio]);
});

Expand Down

0 comments on commit a9e4793

Please sign in to comment.