@@ -53,7 +53,7 @@ public function testLabelOnForm()
5353 $ html = $ this ->renderLabel ($ view );
5454
5555 $ this ->assertMatchesXpath ($ html ,
56- '/legend
56+ '/legend
5757 [@class="col-form-label col-sm-2 col-form-label required"]
5858 [.="[trans]Name[/trans]"]
5959 '
@@ -70,7 +70,7 @@ public function testLabelDoesNotRenderFieldAttributes()
7070 ]);
7171
7272 $ this ->assertMatchesXpath ($ html ,
73- '/label
73+ '/label
7474 [@for="name"]
7575 [@class="col-form-label col-sm-2 required"]
7676 '
@@ -87,7 +87,7 @@ public function testLabelWithCustomAttributesPassedDirectly()
8787 ]);
8888
8989 $ this ->assertMatchesXpath ($ html ,
90- '/label
90+ '/label
9191 [@for="name"]
9292 [@class="my&class col-form-label col-sm-2 required"]
9393 '
@@ -104,7 +104,7 @@ public function testLabelWithCustomTextAndCustomAttributesPassedDirectly()
104104 ]);
105105
106106 $ this ->assertMatchesXpath ($ html ,
107- '/label
107+ '/label
108108 [@for="name"]
109109 [@class="my&class col-form-label col-sm-2 required"]
110110 [.="[trans]Custom label[/trans]"]
@@ -124,7 +124,7 @@ public function testLabelWithCustomTextAsOptionAndCustomAttributesPassedDirectly
124124 ]);
125125
126126 $ this ->assertMatchesXpath ($ html ,
127- '/label
127+ '/label
128128 [@for="name"]
129129 [@class="my&class col-form-label col-sm-2 required"]
130130 [.="[trans]Custom label[/trans]"]
@@ -177,7 +177,7 @@ public function testLegendOnExpandedType()
177177 $ html = $ this ->renderLabel ($ view );
178178
179179 $ this ->assertMatchesXpath ($ html ,
180- '/legend
180+ '/legend
181181 [@class="col-sm-2 col-form-label required"]
182182 [.="[trans]Custom label[/trans]"]
183183 '
@@ -255,7 +255,7 @@ public function testCheckboxRowWithHelp()
255255 $ html = $ this ->renderRow ($ view , ['label ' => 'foo ' , 'help ' => 'really helpful text ' ]);
256256
257257 $ this ->assertMatchesXpath ($ html ,
258- '/div
258+ '/div
259259 [@class="form-group row"]
260260 [
261261 ./div[@class="col-sm-2" or @class="col-sm-10"]
@@ -274,7 +274,7 @@ public function testRadioRowWithHelp()
274274 $ html = $ this ->renderRow ($ form ->createView (), ['label ' => 'foo ' , 'help ' => 'really helpful text ' ]);
275275
276276 $ this ->assertMatchesXpath ($ html ,
277- '/div
277+ '/div
278278 [@class="form-group row"]
279279 [
280280 ./div[@class="col-sm-2" or @class="col-sm-10"]
0 commit comments