Skip to content

Commit

Permalink
tinytest: test.equal should use EJSON.equals
Browse files Browse the repository at this point in the history
  • Loading branch information
glasser committed Dec 12, 2013
1 parent 8de5ebf commit 8de0ae5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/tinytest/tinytest.js
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ _.extend(TestCaseResults.prototype, {
this.equal(actual[i], expected[i]);
}
} else {
matched = _.isEqual(expected, actual);
matched = EJSON.equals(expected, actual);
}

if (matched === !!not) {
Expand Down

0 comments on commit 8de0ae5

Please sign in to comment.