[Form] Test for space in AbstractBootstrap3LayoutTest::testErrors

This commit is contained in:
Nicolas Grekas 2015-05-15 15:29:32 +02:00
parent 7a1fac20b5
commit d0f63429b0
2 changed files with 3 additions and 3 deletions

View File

@ -22,7 +22,7 @@
"require-dev": {
"symfony/phpunit-bridge": "~2.7",
"symfony/finder": "~2.3",
"symfony/form": "~2.6,>=2.6.6",
"symfony/form": "~2.6,>=2.6.8",
"symfony/http-kernel": "~2.3",
"symfony/intl": "~2.3",
"symfony/routing": "~2.2",

View File

@ -118,12 +118,12 @@ abstract class AbstractBootstrap3LayoutTest extends AbstractLayoutTest
[@class="list-unstyled"]
[
./li
[.="[trans]Error 1[/trans]"]
[.=" [trans]Error 1[/trans]"]
[
./span[@class="glyphicon glyphicon-exclamation-sign"]
]
/following-sibling::li
[.="[trans]Error 2[/trans]"]
[.=" [trans]Error 2[/trans]"]
[
./span[@class="glyphicon glyphicon-exclamation-sign"]
]