Skip to content

Commit e804684

Browse files
committed
fix tests.
1 parent 928ce7c commit e804684

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

laravel/tests/cases/blade.test.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@ public function testControlStructuresAreCreatedCorrectly()
3030
$blade3 = "@if (true)\nfoo\n@elseif (false)\nbar\n@endif";
3131
$blade4 = "@if (true)\nfoo\n@else\nbar\n@endif";
3232

33-
$this->assertEquals("<?php if(true): ?>\nfoo\n<?php endif; ?>", Blade::compile_string($blade1));
34-
$this->assertEquals("<?php if(count(".'$something'.") > 0): ?>\nfoo\n<?php endif; ?>", Blade::compile_string($blade2));
35-
$this->assertEquals("<?php if(true): ?>\nfoo\n<?php elseif(false): ?>\nbar\n<?php endif; ?>", Blade::compile_string($blade3));
36-
$this->assertEquals("<?php if(true): ?>\nfoo\n<?php else: ?>\nbar\n<?php endif; ?>", Blade::compile_string($blade4));
33+
$this->assertEquals("<?php if (true): ?>\nfoo\n<?php endif; ?>", Blade::compile_string($blade1));
34+
$this->assertEquals("<?php if (count(".'$something'.") > 0): ?>\nfoo\n<?php endif; ?>", Blade::compile_string($blade2));
35+
$this->assertEquals("<?php if (true): ?>\nfoo\n<?php elseif (false): ?>\nbar\n<?php endif; ?>", Blade::compile_string($blade3));
36+
$this->assertEquals("<?php if (true): ?>\nfoo\n<?php else: ?>\nbar\n<?php endif; ?>", Blade::compile_string($blade4));
3737
}
3838

3939
/**

0 commit comments

Comments
 (0)