Skip to content

Commit

Permalink
fixup! assert: support inequalities
Browse files Browse the repository at this point in the history
  • Loading branch information
RedYetiDev committed Nov 9, 2024
1 parent e9b61b3 commit 664580e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/assert.js
Original file line number Diff line number Diff line change
Expand Up @@ -821,7 +821,7 @@ assert.atLeast = function atLeast(actual, expected, message = `Expected ${actual
actual,
expected,
message,
operator: '>=',
operator: '\u2265',
stackStartFn: atLeast,
});
}
Expand All @@ -839,7 +839,7 @@ assert.lessThan = function lessThan(actual, expected, message = `Expected ${actu
actual,
expected,
message,
operator: '<',
operator: '\u2264',
stackStartFn: lessThan,
});
}
Expand Down

0 comments on commit 664580e

Please sign in to comment.