Add test for array equality

Hilariously, expect.js does not have one.
This commit is contained in:
Tom Payne
2013-03-14 14:49:41 +01:00
parent 81089b2199
commit d7b13ab09f

View File

@@ -34,6 +34,11 @@ expect.Assertion.prototype.called = function() {
};
expect.Assertion.prototype.equalArray = function(other) {
return goog.array.equals(this.obj, other);
};
// helper functions for async testing
(function(global) {