Skip to content

Commit

Permalink
fix: remove check for function length in more-or-less
Browse files Browse the repository at this point in the history
  • Loading branch information
xySaad committed Feb 19, 2025
1 parent ef3c93c commit f85c1cb
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions js/tests/more-or-less_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,11 @@ t(() => less(1) === more(-1))

// let's add now
t(() => typeof add === 'function')
t(() => add.length === 2)
t(() => add(3, 10) === 13)
t(() => add(-1, -1) === -2)

// do the sub thingy
t(() => typeof sub === 'function')
t(() => sub.length === 2)
t(() => sub(-1, -1) === 0)
t(() => sub(3, 10) === -7)

Expand Down

0 comments on commit f85c1cb

Please sign in to comment.