]> source.dussan.org Git - jquery-ui.git/commitdiff
Accordion: Update test helper to use QUnit.push instead of deepEqual to get useful...
authorJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 7 Mar 2012 18:45:20 +0000 (19:45 +0100)
committerJörn Zaefferer <joern.zaefferer@gmail.com>
Wed, 7 Mar 2012 18:45:20 +0000 (19:45 +0100)
tests/unit/accordion/accordion_test_helpers.js

index 7b316e9837cd673ff22bf9b48840baca527a34ec..542809ea0028d673e2858fdaae78ec54fa401d75 100644 (file)
@@ -3,7 +3,7 @@ function accordion_state( accordion ) {
        var actual = accordion.find( ".ui-accordion-content" ).map(function() {
                return $( this ).css( "display" ) === "none" ? 0 : 1;
        }).get();
-       deepEqual( actual, expected );
+       QUnit.push( QUnit.equiv(actual, expected), actual, expected );
 }
 
 function accordion_equalHeights( accordion, min, max ) {