]> source.dussan.org Git - jquery-ui.git/commitdiff
Use QUnit.push instead of assertion method for custom assertions to get
authorjzaefferer <joern.zaefferer@gmail.com>
Sun, 20 Mar 2011 14:56:48 +0000 (15:56 +0100)
committerjzaefferer <joern.zaefferer@gmail.com>
Sun, 20 Mar 2011 14:56:48 +0000 (15:56 +0100)
correct filename and line number output

tests/unit/testsuite.js

index 9c7c46c2247f9942ee5a21fbf4035b4374c7ae66..517b5dfa388087adf81ff2db117963d735125a68 100644 (file)
@@ -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 );
 }
 
 }());