aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/unit/testsuite.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/unit/testsuite.js b/tests/unit/testsuite.js
index 9c7c46c22..517b5dfa3 100644
--- a/tests/unit/testsuite.js
+++ b/tests/unit/testsuite.js
@@ -96,7 +96,8 @@ window.domEqual = function( selector, modifier, message ) {
var expected = extract($(selector));
modifier($(selector));
- deepEqual( extract($(selector)), expected, message );
+ var actual = extract($(selector));
+ QUnit.push( QUnit.equiv(actual, expected), actual, expected, message );
}
}());