Skip to content

Commit d1a88b2

Browse files
committed
Merge branch 'fixAdjacentTests' of https://github.com/jitter/jquery into jitter-fixAdjacentTests
2 parents b0e1e83 + a42f7a2 commit d1a88b2

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

test/unit/selector.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -210,15 +210,15 @@ test("child and adjacent", function() {
210210
t( "Child w/ Class", "p > a.blog", ["mark","simon"] );
211211
t( "All Children", "code > *", ["anchor1","anchor2"] );
212212
t( "All Grandchildren", "p > * > *", ["anchor1","anchor2"] );
213-
t( "Adjacent", "a + a", ["groups"] );
214-
t( "Adjacent", "a +a", ["groups"] );
215-
t( "Adjacent", "a+ a", ["groups"] );
216-
t( "Adjacent", "a+a", ["groups"] );
213+
t( "Adjacent", "#main a + a", ["groups"] );
214+
t( "Adjacent", "#main a +a", ["groups"] );
215+
t( "Adjacent", "#main a+ a", ["groups"] );
216+
t( "Adjacent", "#main a+a", ["groups"] );
217217
t( "Adjacent", "p + p", ["ap","en","sap"] );
218218
t( "Adjacent", "p#firstp + p", ["ap"] );
219219
t( "Adjacent", "p[lang=en] + p", ["sap"] );
220220
t( "Adjacent", "a.GROUPS + code + a", ["mark"] );
221-
t( "Comma, Child, and Adjacent", "a + a, code > a", ["groups","anchor1","anchor2"] );
221+
t( "Comma, Child, and Adjacent", "#main a + a, code > a", ["groups","anchor1","anchor2"] );
222222
t( "Element Preceded By", "p ~ div", ["foo", "moretests","tabindex-tests", "liveHandlerOrder", "siblingTest"] );
223223
t( "Element Preceded By", "#first ~ div", ["moretests","tabindex-tests", "liveHandlerOrder", "siblingTest"] );
224224
t( "Element Preceded By", "#groups ~ a", ["mark"] );

0 commit comments

Comments
 (0)