diff options
author | jzaefferer <joern.zaefferer@gmail.com> | 2011-03-20 15:56:48 +0100 |
---|---|---|
committer | jzaefferer <joern.zaefferer@gmail.com> | 2011-03-20 15:56:48 +0100 |
commit | 93fd447493af07756d4f87aab8b5a7fd010e8593 (patch) | |
tree | 8c7b6a164838316b75a39f8b691f7fc047e894be /tests/unit/testsuite.js | |
parent | f0dbb8334a262114f64d20ba02a3d6acd7d0c4f1 (diff) | |
download | jquery-ui-93fd447493af07756d4f87aab8b5a7fd010e8593.tar.gz jquery-ui-93fd447493af07756d4f87aab8b5a7fd010e8593.zip |
Use QUnit.push instead of assertion method for custom assertions to get
correct filename and line number output
Diffstat (limited to 'tests/unit/testsuite.js')
-rw-r--r-- | tests/unit/testsuite.js | 3 |
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 ); } }()); |