@@ -49,23 +49,23 @@ public function testDataCamelCasing()
49
49
$ result = (new ComponentTagCompiler (['profile ' => TestProfileComponent::class]))->compileTags ('<x-profile user-id="1"></x-profile> ' );
50
50
51
51
$ this ->assertEquals ("@component('Illuminate\Tests\View\Blade\TestProfileComponent', ['userId' => '1'])
52
- <?php \$component->withAttributes([]); ?>@endcomponentClass " , trim ($ result ));
52
+ <?php \$component->withAttributes([]); ?> @endcomponentClass " , trim ($ result ));
53
53
}
54
54
55
55
public function testColonNestedComponentParsing ()
56
56
{
57
57
$ result = (new ComponentTagCompiler (['foo:alert ' => TestAlertComponent::class]))->compileTags ('<x-foo:alert></x-foo:alert> ' );
58
58
59
59
$ this ->assertEquals ("@component('Illuminate\Tests\View\Blade\TestAlertComponent', [])
60
- <?php \$component->withAttributes([]); ?>@endcomponentClass " , trim ($ result ));
60
+ <?php \$component->withAttributes([]); ?> @endcomponentClass " , trim ($ result ));
61
61
}
62
62
63
63
public function testColonStartingNestedComponentParsing ()
64
64
{
65
65
$ result = (new ComponentTagCompiler (['foo:alert ' => TestAlertComponent::class]))->compileTags ('<x:foo:alert></x-foo:alert> ' );
66
66
67
67
$ this ->assertEquals ("@component('Illuminate\Tests\View\Blade\TestAlertComponent', [])
68
- <?php \$component->withAttributes([]); ?>@endcomponentClass " , trim ($ result ));
68
+ <?php \$component->withAttributes([]); ?> @endcomponentClass " , trim ($ result ));
69
69
}
70
70
71
71
public function testSelfClosingComponentsCanBeCompiled ()
@@ -139,7 +139,7 @@ public function testPairedComponentTags()
139
139
140
140
$ this ->assertEquals ("@component('Illuminate\Tests\View\Blade\TestAlertComponent', [])
141
141
<?php \$component->withAttributes([]); ?>
142
- @endcomponentClass " , trim ($ result ));
142
+ @endcomponentClass " , trim ($ result ));
143
143
}
144
144
145
145
public function testClasslessComponents ()
0 commit comments