Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c807fd6

Browse filesBrowse files
committed
[+]: "ParserTest" -> getParserTestData() -> only some more tests
1 parent 1d3ce9b commit c807fd6
Copy full SHA for c807fd6

File tree

Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-0
lines changed

‎src/Symfony/Component/CssSelector/Tests/Parser/ParserTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/CssSelector/Tests/Parser/ParserTest.php
+3Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,9 @@ public function getParserTestData()
120120
array('a[name]', array('Attribute[Element[a][name]]')),
121121
array("a[ name\t]", array('Attribute[Element[a][name]]')),
122122
array('a [name]', array('CombinedSelector[Element[a] <followed> Attribute[Element[*][name]]]')),
123+
array('[name="foo"]', array("Attribute[Element[*][name = 'foo']]")),
124+
array('[name=\'foo[1]\']', array("Attribute[Element[*][name = 'foo[1]']]")),
125+
array('[name=\'foo[0][bar]\']', array("Attribute[Element[*][name = 'foo[0][bar]']]")),
123126
array('a[rel="include"]', array("Attribute[Element[a][rel = 'include']]")),
124127
array('a[rel = include]', array("Attribute[Element[a][rel = 'include']]")),
125128
array("a[hreflang |= 'en']", array("Attribute[Element[a][hreflang |= 'en']]")),

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.