Skip to content

Commit

Permalink
Fix the test
Browse files Browse the repository at this point in the history
  • Loading branch information
pieterwigboldus-visma committed Nov 22, 2024
1 parent 5f325c0 commit 144a5ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/__tests__/int.test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@

import test from 'node:test'
import assert from 'node:assert'
import Int from '../int.js'
Expand All @@ -16,7 +16,7 @@ test('Test int.js', async (t) => {
try {
new Int(42.42)
} catch (error) {
assert.strictEqual(error.message, '42.42 isnt an integer')
assert.strictEqual(error.message, '42.42 isn\'t an integer')
}
})
})

0 comments on commit 144a5ff

Please sign in to comment.