Skip to content
This repository was archived by the owner on Dec 2, 2024. It is now read-only.

Commit

Permalink
Test negative and positive Infinity as keys
Browse files Browse the repository at this point in the history
  • Loading branch information
vweevers committed Mar 29, 2019
1 parent e47dc75 commit 5b4c801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test.js
Original file line number Diff line number Diff line change
Expand Up @@ -360,7 +360,7 @@ test('number keys', function (t) {
t.plan(4)

var db = testCommon.factory()
var numbers = [2, 12]
var numbers = [-Infinity, 0, 2, 12, +Infinity]
var buffers = numbers.map(stringBuffer)

db.open(noop)
Expand Down

0 comments on commit 5b4c801

Please sign in to comment.