X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=vendor%2Fsymfony%2Fcss-selector%2FTests%2FCssSelectorTest.php;fp=vendor%2Fsymfony%2Fcss-selector%2FTests%2FCssSelectorTest.php;h=f8ba536d10bbae3398b347e00b3933ee7e093505;hp=60c5a426fdfbc66255405f1aea101266a4fd2224;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/vendor/symfony/css-selector/Tests/CssSelectorTest.php b/vendor/symfony/css-selector/Tests/CssSelectorTest.php index 60c5a426f..f8ba536d1 100644 --- a/vendor/symfony/css-selector/Tests/CssSelectorTest.php +++ b/vendor/symfony/css-selector/Tests/CssSelectorTest.php @@ -51,7 +51,7 @@ class CssSelectorTest 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 ')]"),