aboutsummaryrefslogtreecommitdiffstats
path: root/test/unit/selector.js
diff options
context:
space:
mode:
authorjeresig <jeresig@gmail.com>2011-01-24 17:01:31 -0500
committerjeresig <jeresig@gmail.com>2011-01-24 17:01:31 -0500
commit9604a0321adbc7baeaef1203b8e36d1a576a40a4 (patch)
tree9a68b595845bec16aed4bfc15c79162ff46428a7 /test/unit/selector.js
parent98234b0f93d45cd40ad54d58a584bc099212e8fc (diff)
downloadjquery-9604a0321adbc7baeaef1203b8e36d1a576a40a4.tar.gz
jquery-9604a0321adbc7baeaef1203b8e36d1a576a40a4.zip
Bring back in #main prefix on adjacent selectors.
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r--test/unit/selector.js10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js
index 7303af46f..eafd2485c 100644
--- a/test/unit/selector.js
+++ b/test/unit/selector.js
@@ -235,15 +235,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"] );