aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector/selectorTest.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/selector/selectorTest.js')
-rw-r--r--src/selector/selectorTest.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js
index c0f0aed9e..5b77b3b45 100644
--- a/src/selector/selectorTest.js
+++ b/src/selector/selectorTest.js
@@ -183,8 +183,9 @@ test("pseudo (:) selectors", function() {
});
test("basic xpath", function() {
- expect(15);
+ expect(16);
ok( jQuery.find("//*").length >= 30, "All Elements (//*)" );
+ ok( jQuery.find("//div", q("main")[0])[0] = q("foo")[0], "All Relative (#main//div)" );
t( "All Div Elements", "//div", ["main","foo"] );
t( "Absolute Path", "/html/body", ["body"] );
t( "Absolute Path w/ *", "/* /body", ["body"] );