]> source.dussan.org Git - jquery.git/commitdiff
Rev [1827] broke the two XPath sibling selectors.
authorJohn Resig <jeresig@gmail.com>
Tue, 1 May 2007 21:36:01 +0000 (21:36 +0000)
committerJohn Resig <jeresig@gmail.com>
Tue, 1 May 2007 21:36:01 +0000 (21:36 +0000)
src/selector/selectorTest.js

index 6cea55bcd6404a567f7518ebd97c92331cca192e..2cd7db0b626a08f85de7ac3d4540ae11dad318bd 100644 (file)
@@ -193,8 +193,8 @@ test("basic xpath", function() {
        t( "Attribute Exists", "//a[@title]", ["google"] );
        t( "Attribute Equals", "//a[@rel='bookmark']", ["simon1"] );
        t( "Parent Axis", "//p/..", ["main","foo"] );
-       t( "Sibling Axis", "//p/../", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","sndp","en","sap"] );
-       t( "Sibling Axis", "//p/../*", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","sndp","en","sap"] );
+       t( "Sibling Axis", "//p/../", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","table","sndp","en","sap"] );
+       t( "Sibling Axis", "//p/../*", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","table","sndp","en","sap"] );
        t( "Has Children", "//p[a]", ["firstp","ap","en","sap"] );
        
        $("#foo").each(function() {