mirror of
https://github.com/jquery/jquery-ui.git
synced 2025-01-07 20:34:24 +00:00
Accordion unit tests: Cleanup
This commit is contained in:
parent
cae15a4d37
commit
cf2b0ca0d8
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user