From a42f7a2590ea21dbe8eb1e11f927a952bdd30c1e Mon Sep 17 00:00:00 2001 From: Anton M Date: Tue, 9 Nov 2010 18:13:39 +0100 Subject: [PATCH] Fix selector tests broken by newer version of Qunit. --- test/unit/selector.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/test/unit/selector.js b/test/unit/selector.js index 8f9f56e26..9a65d9824 100644 --- a/test/unit/selector.js +++ b/test/unit/selector.js @@ -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"] ); -- 2.39.5