@@ -6,8 +6,7 @@ class BladeExtendsTest extends AbstractBladeTestCase
66{
77 public function testExtendsAreCompiled ()
88 {
9- $ string = '@extends( \'foo \')
10- test ' ;
9+ $ string = "@extends('foo') \ntest " ;
1110 $ expected = "test \n" .'<?php echo $__env->make( \'foo \', array_diff_key(get_defined_vars(), [ \'__data \' => 1, \'__path \' => 1]))->render(); ?> ' ;
1211 $ this ->assertEquals ($ expected , $ this ->compiler ->compileString ($ string ));
1312
@@ -18,8 +17,7 @@ public function testExtendsAreCompiled()
1817
1918 public function testSequentialCompileStringCalls ()
2019 {
21- $ string = '@extends( \'foo \')
22- test ' ;
20+ $ string = "@extends('foo') \ntest " ;
2321 $ expected = "test \n" .'<?php echo $__env->make( \'foo \', array_diff_key(get_defined_vars(), [ \'__data \' => 1, \'__path \' => 1]))->render(); ?> ' ;
2422 $ this ->assertEquals ($ expected , $ this ->compiler ->compileString ($ string ));
2523
@@ -31,8 +29,7 @@ public function testSequentialCompileStringCalls()
3129
3230 public function testExtendsFirstAreCompiled ()
3331 {
34- $ string = '@extendsFirst([ \'foo \', \'milwad \'])
35- test ' ;
32+ $ string = "@extendsFirst(['foo', 'milwad']) \ntest " ;
3633 $ expected = "test \n" .'<?php echo $__env->first([ \'foo \', \'milwad \'], array_diff_key(get_defined_vars(), [ \'__data \' => 1, \'__path \' => 1]))->render(); ?> ' ;
3734 $ this ->assertEquals ($ expected , $ this ->compiler ->compileString ($ string ));
3835
0 commit comments