Made the div showing a little more explicit - making sure that it doesn't affect...
[jquery.git] / test / unit / core.js
index 4b01a7a..2f775cd 100644 (file)
@@ -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;
        });