X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fcss-selector%2FTests%2FCssSelectorConverterTest.php;fp=vendor%2Fsymfony%2Fcss-selector%2FTests%2FCssSelectorConverterTest.php;h=a3eea7ad2186965283894054ba8cb9c1b1eefb72;hp=a27fadfef1e70b2c2af1bbcd99e3ea2f01df9563;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/symfony/css-selector/Tests/CssSelectorConverterTest.php b/vendor/symfony/css-selector/Tests/CssSelectorConverterTest.php index a27fadfef..a3eea7ad2 100644 --- a/vendor/symfony/css-selector/Tests/CssSelectorConverterTest.php +++ b/vendor/symfony/css-selector/Tests/CssSelectorConverterTest.php @@ -59,7 +59,7 @@ class CssSelectorConverterTest extends TestCase array('h1', 'h1'), array('foo|h1', 'foo:h1'), array('h1, h2, h3', 'h1 | h2 | h3'), - array('h1:nth-child(3n+1)', "*/*[name() = 'h1' and (position() - 1 >= 0 and (position() - 1) mod 3 = 0)]"), + array('h1:nth-child(3n+1)', "*/*[(name() = 'h1') and (position() - 1 >= 0 and (position() - 1) mod 3 = 0)]"), array('h1 > p', 'h1/p'), array('h1#foo', "h1[@id = 'foo']"), array('h1.foo', "h1[@class and contains(concat(' ', normalize-space(@class), ' '), ' foo ')]"),