diff --git a/tests/View/Blade/BladeCheckedStatementsTest.php b/tests/View/Blade/BladeCheckedStatementsTest.php index fd76b3656db3..5de18e1f47eb 100644 --- a/tests/View/Blade/BladeCheckedStatementsTest.php +++ b/tests/View/Blade/BladeCheckedStatementsTest.php @@ -43,4 +43,12 @@ public function testReadonlyStatementsAreCompiled() $this->assertEquals($expected, $this->compiler->compileString($string)); } + + public function testHiddenStatementsAreCompiled() + { + $string = ''; + $expected = "/>"; + + $this->assertEquals($expected, $this->compiler->compileString($string)); + } }