Skip to content

Commit 99a4b2c

Browse files
fix merge
1 parent faff1c9 commit 99a4b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tests/CssSelectorConverterTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public function getCssToXPathWithoutPrefixTestData()
5959
array('h1', 'h1'),
6060
array('foo|h1', 'foo:h1'),
6161
array('h1, h2, h3', 'h1 | h2 | h3'),
62-
array('h1:nth-child(3n+1)', "*/*[name() = 'h1' and (position() - 1 >= 0 and (position() - 1) mod 3 = 0)]"),
62+
array('h1:nth-child(3n+1)', "*/*[(name() = 'h1') and (position() - 1 >= 0 and (position() - 1) mod 3 = 0)]"),
6363
array('h1 > p', 'h1/p'),
6464
array('h1#foo', "h1[@id = 'foo']"),
6565
array('h1.foo', "h1[@class and contains(concat(' ', normalize-space(@class), ' '), ' foo ')]"),

0 commit comments

Comments
 (0)