diff options
author | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-07 19:45:20 +0100 |
---|---|---|
committer | Jörn Zaefferer <joern.zaefferer@gmail.com> | 2012-03-07 19:45:20 +0100 |
commit | 724772e591e9e721b33c7e2739649b9c5d7a4246 (patch) | |
tree | cf1a6623fe23e102ffddf11216e87f86641720ad /tests | |
parent | 397176da3ecdbcb15adc9a259cbbb59f029a711f (diff) | |
download | jquery-ui-724772e591e9e721b33c7e2739649b9c5d7a4246.tar.gz jquery-ui-724772e591e9e721b33c7e2739649b9c5d7a4246.zip |
Accordion: Update test helper to use QUnit.push instead of deepEqual to get useful stacktrace
Diffstat (limited to 'tests')
-rw-r--r-- | tests/unit/accordion/accordion_test_helpers.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/accordion/accordion_test_helpers.js b/tests/unit/accordion/accordion_test_helpers.js index 7b316e983..542809ea0 100644 --- a/tests/unit/accordion/accordion_test_helpers.js +++ b/tests/unit/accordion/accordion_test_helpers.js @@ -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 ) { |