aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJohn Resig <jeresig@gmail.com>2007-05-01 21:36:01 +0000
committerJohn Resig <jeresig@gmail.com>2007-05-01 21:36:01 +0000
commit7fa12b412b7e965ca7a37c9281dd6321c2fe284c (patch)
tree2f9f0a5de33d125dff0036eaf3f573e46777dc6b /src
parentc512984303f3d2148c4a755ccb1f41bfcbcf9527 (diff)
downloadjquery-7fa12b412b7e965ca7a37c9281dd6321c2fe284c.tar.gz
jquery-7fa12b412b7e965ca7a37c9281dd6321c2fe284c.zip
Rev [1827] broke the two XPath sibling selectors.
Diffstat (limited to 'src')
-rw-r--r--src/selector/selectorTest.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selector/selectorTest.js b/src/selector/selectorTest.js
index 6cea55bcd..2cd7db0b6 100644
--- a/src/selector/selectorTest.js
+++ b/src/selector/selectorTest.js
@@ -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() {