diff --git a/tests/Latte/Compiler.htmlNode.phpt b/tests/Latte/Compiler.htmlNode.phpt index ee31c8469..2469033d9 100644 --- a/tests/Latte/Compiler.htmlNode.phpt +++ b/tests/Latte/Compiler.htmlNode.phpt @@ -26,6 +26,7 @@ class MockMacro implements IMacro 1 => ['a' => '', 'b' => '123', 'c' => 'abc', 'd' => 'text', 'e' => 'xxx', 'f' => TRUE], 2 => ['a' => '', 'b' => '456', 'c' => 'abc', 'd' => 'text', 'e' => 'xxx', 'f' => TRUE, 'g' => TRUE], 3 => ['a' => '', 'b' => '456', 'c' => 'abc', 'd' => 'text', 'e' => 'xxx', 'f' => TRUE, 'g' => TRUE], + 4 => ['href' => TRUE], ]; Assert::same($res[$node->args], $node->htmlNode->attrs); } @@ -38,3 +39,4 @@ $parser = new Parser; $compiler = new Compiler; $compiler->addMacro('foo', new MockMacro); $compiler->compile($parser->parse('