From c44d974735cd9db6232e4f32256cc50abd64678c Mon Sep 17 00:00:00 2001 From: Reza Amini Date: Tue, 22 Dec 2020 13:30:46 +0330 Subject: [PATCH] update tests --- tests/DirectivesTest.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/tests/DirectivesTest.php b/tests/DirectivesTest.php index c9b8c05..2ca4501 100644 --- a/tests/DirectivesTest.php +++ b/tests/DirectivesTest.php @@ -148,12 +148,15 @@ public function testImageDirective() public function testStyleDirective() { $this->assertEquals("", $this->compiler->compileString("@style('style.css')")); + $this->assertEquals("", $this->compiler->compileString("@style('style.css', true)")); } public function testScriptDirective() { - $this->assertEquals("", $this->compiler->compileString("@script('script.js', true)")); + $this->assertEquals("", $this->compiler->compileString("@script('script.js', false, true)")); $this->assertEquals("", $this->compiler->compileString("@script('script.js')")); + $this->assertEquals("", $this->compiler->compileString("@script('script.js', true)")); + $this->assertEquals("", $this->compiler->compileString("@script('script.js', true, true)")); } public function testConfigDirectiveStyle()