Skip to content

Commit

Permalink
try deepStrictEqual instead of strictEqual
Browse files Browse the repository at this point in the history
  • Loading branch information
mofosyne committed Nov 8, 2023
1 parent 0a93956 commit ee961fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/unit-tests/function/arithmetic/round.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ describe('round', function () {
})

it('should round unit', function () {
assert.strictEqual(round(math.unit('3.12345cm'), 3, math.unit('cm')), math.unit('3.123cm'))
assert.deepStrictEqual(round(math.unit('3.12345cm'), 3, math.unit('cm')), math.unit('3.123cm'))
})

it('should convert to a number when used with a string', function () {
Expand Down

0 comments on commit ee961fc

Please sign in to comment.