X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;ds=sidebyside;f=test%2Funit%2Fcore.js;h=2f775cd771dcc508a4bd8862528bc7e9e453a1a2;hb=80782d958c63bf9a6c5e602e1dc945ae1df20e83;hp=4b01a7af371f48e501005a028236749a8773a63e;hpb=10ab08de439130ead59d6cc1c31917f2869f923f;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index 4b01a7a..2f775cd 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -1441,7 +1441,7 @@ test("closest()", function() { isSet( jQuery("#main").closest("span,#html").get(), q("html"), "closest(span,#html)" ); isSet( jQuery("div:eq(1)").closest("div:first").get(), [], "closest(div:first)" ); - isSet( jQuery("div").closest("body:first div:last").get(), q("liveHandlerOrder"), "closest(body:first div:last)" ); + isSet( jQuery("div").closest("body:first div:last").get(), q("fx-tests"), "closest(body:first div:last)" ); }); test("not()", function() { @@ -1523,7 +1523,7 @@ test("prev([String])", function() { test("show()", function() { expect(15); - var pass = true, div = jQuery("div"); + var pass = true, div = jQuery("#main div"); div.show().each(function(){ if ( this.style.display == "none" ) pass = false; });