Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
mourner committed Sep 1, 2014
1 parent 89832b0 commit f530c78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/test.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ t('#toBBox, #compareMinX, #compareMinY can be overriden to allow custom data str
t('#load bulk-loads the given data given max node entries and forms a proper search tree', function (t) {

var tree = rbush(4).load(data);
t.same(tree.toJSON(), testTree);
sortedEqual(t, tree.all(), rbush(4).fromJSON(testTree).all());

t.end();
});
Expand Down Expand Up @@ -215,7 +215,7 @@ t('#toJSON & #fromJSON exports and imports search tree in JSON format', function

var tree2 = rbush(4).load(data);

t.same(tree.toJSON(), tree2.toJSON());
sortedEqual(t, tree.all(), tree2.all());
t.end();
});

Expand Down

0 comments on commit f530c78

Please sign in to comment.