Skip to content

Commit a6d4e5b

Browse files
MatTheCatfabpot
authored andcommitted
[Twig][Bridge] force space between widget and label in checkbox_radio_label
1 parent 85ff9b2 commit a6d4e5b

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

Tests/AbstractBootstrap3LayoutTest.php

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ public function testCheckedCheckbox()
162162
[@class="checkbox"]
163163
[
164164
./label
165-
[.="[trans]Name[/trans]"]
165+
[.=" [trans]Name[/trans]"]
166166
[
167167
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class"][@checked="checked"][@value="1"]
168168
]
@@ -180,7 +180,7 @@ public function testUncheckedCheckbox()
180180
[@class="checkbox"]
181181
[
182182
./label
183-
[.="[trans]Name[/trans]"]
183+
[.=" [trans]Name[/trans]"]
184184
[
185185
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class"][not(@checked)]
186186
]
@@ -200,7 +200,7 @@ public function testCheckboxWithValue()
200200
[@class="checkbox"]
201201
[
202202
./label
203-
[.="[trans]Name[/trans]"]
203+
[.=" [trans]Name[/trans]"]
204204
[
205205
./input[@type="checkbox"][@name="name"][@id="my&id"][@class="my&class"][@value="foo&bar"]
206206
]
@@ -632,7 +632,7 @@ public function testSingleChoiceExpanded()
632632
[@class="radio"]
633633
[
634634
./label
635-
[.="[trans]Choice&A[/trans]"]
635+
[.=" [trans]Choice&A[/trans]"]
636636
[
637637
./input[@type="radio"][@name="name"][@id="name_0"][@value="&a"][@checked]
638638
]
@@ -641,7 +641,7 @@ public function testSingleChoiceExpanded()
641641
[@class="radio"]
642642
[
643643
./label
644-
[.="[trans]Choice&B[/trans]"]
644+
[.=" [trans]Choice&B[/trans]"]
645645
[
646646
./input[@type="radio"][@name="name"][@id="name_1"][@value="&b"][not(@checked)]
647647
]
@@ -742,7 +742,7 @@ public function testSingleChoiceExpandedWithPlaceholder()
742742
[@class="radio"]
743743
[
744744
./label
745-
[.="[trans]Test&Me[/trans]"]
745+
[.=" [trans]Test&Me[/trans]"]
746746
[
747747
./input[@type="radio"][@name="name"][@id="name_placeholder"][not(@checked)]
748748
]
@@ -751,7 +751,7 @@ public function testSingleChoiceExpandedWithPlaceholder()
751751
[@class="radio"]
752752
[
753753
./label
754-
[.="[trans]Choice&A[/trans]"]
754+
[.=" [trans]Choice&A[/trans]"]
755755
[
756756
./input[@type="radio"][@name="name"][@id="name_0"][@checked]
757757
]
@@ -760,7 +760,7 @@ public function testSingleChoiceExpandedWithPlaceholder()
760760
[@class="radio"]
761761
[
762762
./label
763-
[.="[trans]Choice&B[/trans]"]
763+
[.=" [trans]Choice&B[/trans]"]
764764
[
765765
./input[@type="radio"][@name="name"][@id="name_1"][not(@checked)]
766766
]
@@ -786,7 +786,7 @@ public function testSingleChoiceExpandedWithBooleanValue()
786786
[@class="radio"]
787787
[
788788
./label
789-
[.="[trans]Choice&A[/trans]"]
789+
[.=" [trans]Choice&A[/trans]"]
790790
[
791791
./input[@type="radio"][@name="name"][@id="name_0"][@checked]
792792
]
@@ -795,7 +795,7 @@ public function testSingleChoiceExpandedWithBooleanValue()
795795
[@class="radio"]
796796
[
797797
./label
798-
[.="[trans]Choice&B[/trans]"]
798+
[.=" [trans]Choice&B[/trans]"]
799799
[
800800
./input[@type="radio"][@name="name"][@id="name_1"][not(@checked)]
801801
]
@@ -822,7 +822,7 @@ public function testMultipleChoiceExpanded()
822822
[@class="checkbox"]
823823
[
824824
./label
825-
[.="[trans]Choice&A[/trans]"]
825+
[.=" [trans]Choice&A[/trans]"]
826826
[
827827
./input[@type="checkbox"][@name="name[]"][@id="name_0"][@checked][not(@required)]
828828
]
@@ -831,7 +831,7 @@ public function testMultipleChoiceExpanded()
831831
[@class="checkbox"]
832832
[
833833
./label
834-
[.="[trans]Choice&B[/trans]"]
834+
[.=" [trans]Choice&B[/trans]"]
835835
[
836836
./input[@type="checkbox"][@name="name[]"][@id="name_1"][not(@checked)][not(@required)]
837837
]
@@ -840,7 +840,7 @@ public function testMultipleChoiceExpanded()
840840
[@class="checkbox"]
841841
[
842842
./label
843-
[.="[trans]Choice&C[/trans]"]
843+
[.=" [trans]Choice&C[/trans]"]
844844
[
845845
./input[@type="checkbox"][@name="name[]"][@id="name_2"][@checked][not(@required)]
846846
]

0 commit comments

Comments
 (0)