Skip to content

Commit

Permalink
test: make coverage perfect
Browse files Browse the repository at this point in the history
  • Loading branch information
tsctx committed Feb 25, 2024
1 parent 5ec5f4b commit 8574270
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/node-test/tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ describe('Ternary Search Tree', () => {
const tst = new TernarySearchTree()
tst.insert('a', 'a')
// throw on TstNode
assert.throws(() => tst.insert('a\x80', 'a'))
assert.throws(() => tst.insert('\x80', 'a'))
})

test('duplicate key', () => {
Expand Down

0 comments on commit 8574270

Please sign in to comment.