From: jzaefferer Date: Sat, 3 Apr 2010 15:14:58 +0000 (+0200) Subject: Accordion unit tests: Cleanup X-Git-Tag: 1.8.1~5^2~33 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=cf2b0ca0d8b803c046e219dd6efed120f8e14fea;p=jquery-ui.git Accordion unit tests: Cleanup --- diff --git a/tests/unit/accordion/accordion_methods.js b/tests/unit/accordion/accordion_methods.js index c31f22008..37807964a 100644 --- a/tests/unit/accordion/accordion_methods.js +++ b/tests/unit/accordion/accordion_methods.js @@ -103,8 +103,7 @@ test("activate, string expression", function() { ac.accordion("activate", ":last"); state(ac, 0, 0, 1); }); -//[ 0, 1, 1 ] result: [ 0, 0, 1 ] -//[ 0, 1, 1] result: [ 0, 0, 1] + test("activate, jQuery or DOM element", function() { var ac = $('#list1').accordion({ active: $("#list1 a:last") }); state(ac, 0, 0, 1);