accordion tests: Fixed JavaScript warnings.

This commit is contained in:
Scott González 2008-05-28 20:04:52 +00:00
parent 46cfa2f147
commit 5917978bfd

View File

@ -42,10 +42,10 @@ test("activate, numeric", function() {
test("activate, boolean and numeric, alwaysOpen:false", function() {
var ac = $('#list1').accordion({alwaysOpen: false}).accordion("activate", 2);
state(ac, 0, 0, 1);
ok("x", "----")
ok("x", "----");
ac.accordion("activate", 0);
state(ac, 1, 0, 0);
ok("x", "----")
ok("x", "----");
ac.accordion("activate", -1);
state(ac, 0, 0, 0);
});