Accordion unit tests: Cleanup

This commit is contained in:
jzaefferer 2010-04-03 17:14:58 +02:00
parent cae15a4d37
commit cf2b0ca0d8

View File

@ -103,8 +103,7 @@ test("activate, string expression", function() {
ac.accordion("activate", ":last"); ac.accordion("activate", ":last");
state(ac, 0, 0, 1); 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() { test("activate, jQuery or DOM element", function() {
var ac = $('#list1').accordion({ active: $("#list1 a:last") }); var ac = $('#list1').accordion({ active: $("#list1 a:last") });
state(ac, 0, 0, 1); state(ac, 0, 0, 1);