Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Rev [1827] broke the two XPath sibling selectors.

  • Loading branch information...
commit 7fa12b412b7e965ca7a37c9281dd6321c2fe284c 1 parent c512984
John Resig jeresig authored

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. +2 2 src/selector/selectorTest.js
4 src/selector/selectorTest.js
@@ -193,8 +193,8 @@ test("basic xpath", function() {
193 193 t( "Attribute Exists", "//a[@title]", ["google"] );
194 194 t( "Attribute Equals", "//a[@rel='bookmark']", ["simon1"] );
195 195 t( "Parent Axis", "//p/..", ["main","foo"] );
196   - t( "Sibling Axis", "//p/../", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","sndp","en","sap"] );
197   - t( "Sibling Axis", "//p/../*", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","sndp","en","sap"] );
  196 + t( "Sibling Axis", "//p/../", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","table","sndp","en","sap"] );
  197 + t( "Sibling Axis", "//p/../*", ["firstp","ap","foo","first","firstUL","empty","form","floatTest","iframe","lengthtest","table","sndp","en","sap"] );
198 198 t( "Has Children", "//p[a]", ["firstp","ap","en","sap"] );
199 199
200 200 $("#foo").each(function() {

0 comments on commit 7fa12b4

Please sign in to comment.
Something went wrong with that request. Please try again.