X-Git-Url: https://yaffs.net/gitweb/?a=blobdiff_plain;f=vendor%2Fsymfony%2Fcss-selector%2FTests%2FCssSelectorTest.php;h=f8ba536d10bbae3398b347e00b3933ee7e093505;hb=5b8bb166bfa98770daef9de5c127fc2e6ef02340;hp=60c5a426fdfbc66255405f1aea101266a4fd2224;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website 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 ')]"),