From e804971b79a485de980a79663d3e1dc5ff48f705 Mon Sep 17 00:00:00 2001 From: "Tsz-Yu WONG, Prince" Date: Thu, 29 Aug 2024 16:51:13 +0800 Subject: [PATCH] add hidden test --- tests/View/Blade/BladeCheckedStatementsTest.php | 8 ++++++++ 1 file changed, 8 insertions(+) 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)); + } }