Skip to content

Commit

Permalink
feat: apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Zixuan Liu <[email protected]>
  • Loading branch information
tx2002 and nodece authored Nov 19, 2024
1 parent a3e659e commit 89091a6
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -62,8 +62,10 @@ const fixtures = [
{expr: '1 >= 2', expected: false },

// logical expression lazy evaluation
{expr: 'true || false', expected: true },
{expr: 'true || throw()', expected: true },
{expr: 'false || true', expected: true },
{expr: 'false && true', expected: false },
{expr: 'false && throw()', expected: false },
{expr: 'true && false', expected: false },

Expand Down

0 comments on commit 89091a6

Please sign in to comment.