Skip to content

Commit

Permalink
address comments
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Jan 20, 2024
1 parent 6cd806b commit 7351f70
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions test.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,10 +140,10 @@ test('reconstructs an index from a Uint8Array', () => {

assert.deepEqual(index._boxes, index2._boxes);
assert.deepEqual(index._indices, index2._indices);
assert.deepEqual(index.numItems, index2.numItems);
assert.deepEqual(index.nodeSize, index2.nodeSize);
assert.equal(index.numItems, index2.numItems);
assert.equal(index.nodeSize, index2.nodeSize);
assert.deepEqual(index._levelBounds, index2._levelBounds);
assert.notDeepEqual(index.byteOffset, index2.byteOffset);
assert.notEqual(index.byteOffset, index2.byteOffset);
});

test('throws an error if added less items than the index size', () => {
Expand Down

0 comments on commit 7351f70

Please sign in to comment.