diff options
author | Anton M <obhvsbypqghgc@gmail.com> | 2011-01-22 01:12:18 +0100 |
---|---|---|
committer | Anton M <obhvsbypqghgc@gmail.com> | 2011-01-22 01:12:18 +0100 |
commit | 4413c2fd93dc3809cb000492c86d8ffba39cf59a (patch) | |
tree | fa154c84a43b0d48b1f8ff25ca473c661ef0eb62 /test/unit/selector.js | |
parent | f1bd0cfc4d3eabf566b6a3345d888e6db67bc00b (diff) | |
download | jquery-4413c2fd93dc3809cb000492c86d8ffba39cf59a.tar.gz jquery-4413c2fd93dc3809cb000492c86d8ffba39cf59a.zip |
Fix selector scope on some tests, so they don't fail on testswarm.
Diffstat (limited to 'test/unit/selector.js')
-rw-r--r-- | test/unit/selector.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unit/selector.js b/test/unit/selector.js index 6a3832555..d23b4e439 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"] ); |