]> source.dussan.org Git - jquery.git/commitdiff
Fix selector tests broken by newer version of Qunit. 86/head
authorAnton M <haskell_noob-github@yahoo.de>
Tue, 9 Nov 2010 17:13:39 +0000 (18:13 +0100)
committerAnton M <haskell_noob-github@yahoo.de>
Tue, 9 Nov 2010 17:13:39 +0000 (18:13 +0100)
test/unit/selector.js

index 8f9f56e261cc82bf28f1ee792e59d5690ea0746c..9a65d9824cfa5c4f28f3e1dabd5c254472913d1f 100644 (file)
@@ -210,15 +210,15 @@ test("child and adjacent", function() {
        t( "Child w/ Class", "p > a.blog", ["mark","simon"] );
        t( "All Children", "code > *", ["anchor1","anchor2"] );
        t( "All Grandchildren", "p > * > *", ["anchor1","anchor2"] );
-       t( "Adjacent", "a + a", ["groups"] );
-       t( "Adjacent", "a +a", ["groups"] );
-       t( "Adjacent", "a+ a", ["groups"] );
-       t( "Adjacent", "a+a", ["groups"] );
+       t( "Adjacent", "#main a + a", ["groups"] );
+       t( "Adjacent", "#main a +a", ["groups"] );
+       t( "Adjacent", "#main a+ a", ["groups"] );
+       t( "Adjacent", "#main a+a", ["groups"] );
        t( "Adjacent", "p + p", ["ap","en","sap"] );
        t( "Adjacent", "p#firstp + p", ["ap"] );
        t( "Adjacent", "p[lang=en] + p", ["sap"] );
        t( "Adjacent", "a.GROUPS + code + a", ["mark"] );
-       t( "Comma, Child, and Adjacent", "a + a, code > a", ["groups","anchor1","anchor2"] );
+       t( "Comma, Child, and Adjacent", "#main a + a, code > a", ["groups","anchor1","anchor2"] );
        t( "Element Preceded By", "p ~ div", ["foo", "moretests","tabindex-tests", "liveHandlerOrder", "siblingTest"] );
        t( "Element Preceded By", "#first ~ div", ["moretests","tabindex-tests", "liveHandlerOrder", "siblingTest"] );
        t( "Element Preceded By", "#groups ~ a", ["mark"] );