X-Git-Url: http://git.asbjorn.it/?a=blobdiff_plain;f=test%2Funit%2Fcore.js;h=2f775cd771dcc508a4bd8862528bc7e9e453a1a2;hb=4b7e1c906f497784329622d82da08c8646cae7e6;hp=c5ff6f6c5170d4d1dc3a2b0a34527101ee256b4f;hpb=f89f5eb61f6b19cc2204ddbe2abc797f7ee14cfd;p=jquery.git diff --git a/test/unit/core.js b/test/unit/core.js index c5ff6f6..2f775cd 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; });