X-Git-Url: http://git.asbjorn.biz/?a=blobdiff_plain;f=src%2Fselector%2FselectorTest.js;h=5b77b3b454f80773bd6c2254240e9b030ec0a075;hb=bdf05d890fe3a8cc085b2b4f13881ca043943e44;hp=c0f0aed9effa2b86027d0705c96f77bcdb06274a;hpb=a65a811ce03b2f7900ae0daa18d4d9fc213acbfd;p=jquery.git diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js index c0f0aed..5b77b3b 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"] );