Made the div showing a little more explicit - making sure that it doesn't affect...
authorJohn Resig <jeresig@gmail.com>
Tue, 17 Feb 2009 16:22:41 +0000 (16:22 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 17 Feb 2009 16:22:41 +0000 (16:22 +0000)
test/unit/core.js

index c5ff6f6..2f775cd 100644 (file)
@@ -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;
        });