diff --git a/test/unit/core.js b/test/unit/core.js index c5ff6f6c5..2f775cd77 100644 --- a/test/unit/core.js +++ b/test/unit/core.js @@ -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; });