@@ -21,7 +21,7 @@ public function testLabelOnForm()
2121 $ html = $ this ->renderLabel ($ view );
2222
2323 $ this ->assertMatchesXpath ($ html ,
24- '/label
24+ '/label
2525 [@class="col-sm-2 control-label required"]
2626 [.="[trans]Name[/trans]"]
2727 '
@@ -38,7 +38,7 @@ public function testLabelDoesNotRenderFieldAttributes()
3838 ]);
3939
4040 $ this ->assertMatchesXpath ($ html ,
41- '/label
41+ '/label
4242 [@for="name"]
4343 [@class="col-sm-2 control-label required"]
4444 '
@@ -55,7 +55,7 @@ public function testLabelWithCustomAttributesPassedDirectly()
5555 ]);
5656
5757 $ this ->assertMatchesXpath ($ html ,
58- '/label
58+ '/label
5959 [@for="name"]
6060 [@class="my&class col-sm-2 control-label required"]
6161 '
@@ -72,7 +72,7 @@ public function testLabelWithCustomTextAndCustomAttributesPassedDirectly()
7272 ]);
7373
7474 $ this ->assertMatchesXpath ($ html ,
75- '/label
75+ '/label
7676 [@for="name"]
7777 [@class="my&class col-sm-2 control-label required"]
7878 [.="[trans]Custom label[/trans]"]
@@ -92,7 +92,7 @@ public function testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly
9292 ]);
9393
9494 $ this ->assertMatchesXpath ($ html ,
95- '/label
95+ '/label
9696 [@for="name"]
9797 [@class="my&class col-sm-2 control-label required"]
9898 [.="[trans]Custom label[/trans]"]
@@ -203,7 +203,7 @@ public function testCheckboxRowWithHelp()
203203 $ html = $ this ->renderRow ($ form ->createView (), ['label ' => 'foo ' , 'help ' => 'really helpful text ' ]);
204204
205205 $ this ->assertMatchesXpath ($ html ,
206- '/div
206+ '/div
207207 [@class="form-group"]
208208 [
209209 ./div[@class="col-sm-2" or @class="col-sm-10"]
0 commit comments