aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2009-09-29 21:40:17 +0000
committerJohn Resig <jeresig@gmail.com>2009-09-29 21:40:17 +0000
commitb996026e383eae34dd52824dda5bbe029e2eda51 (patch)
tree99df9c0d32244a28204ef9d26e3bc47452ce0a1b
parentb0306cc3a662edf9675cd16081ff0e81b2a0f587 (diff)
downloadjquery-b996026e383eae34dd52824dda5bbe029e2eda51.tar.gz
jquery-b996026e383eae34dd52824dda5bbe029e2eda51.zip
Adapted the jQuery test suite to handle the toolbar moving inline.
-rw-r--r--test/index.html1
-rw-r--r--test/unit/selector.js2
2 files changed, 2 insertions, 1 deletions
diff --git a/test/index.html b/test/index.html
index 164e524c3..b969c28dd 100644
--- a/test/index.html
+++ b/test/index.html
@@ -29,6 +29,7 @@
<body id="body">
<h1 id="header">jQuery Test Suite</h1>
<h2 id="qunit-banner"></h2>
+ <div id="qunit-testrunner-toolbar"></div>
<h2 id="qunit-userAgent"></h2>
<!-- Test HTML -->
diff --git a/test/unit/selector.js b/test/unit/selector.js
index dc27adcc4..37da3f3fa 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -361,7 +361,7 @@ test("pseudo (:) selectors", function() {
t( "Position Less Than", "p:lt(3)", ["firstp","ap","sndp"] );
t( "Is A Parent", "p:parent", ["firstp","ap","sndp","en","sap","first"] );
t( "Is Visible", "#form input:visible", [] );
- t( "Is Visible", "div:visible:not(.qunit-testrunner-toolbar):lt(2)", ["nothiddendiv", "nothiddendivchild"] );
+ t( "Is Visible", "div:visible:not(#qunit-testrunner-toolbar):lt(2)", ["nothiddendiv", "nothiddendivchild"] );
t( "Is Hidden", "#form input:hidden", ["text1","text2","radio1","radio2","check1","check2","hidden1","hidden2","name","search"] );
t( "Is Hidden", "#main:hidden", ["main"] );
t( "Is Hidden", "#dl:hidden", ["dl"] );