Skip to content

Commit 926390d

Browse files
committed
tests: cover the {{ var }} template
as Copilot tells at #15 review
1 parent c6a7beb commit 926390d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/EscapeTest.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ public function getHtmlArgs(): array
4242
['Hello &lt;World&gt;Hello <World>', ['Hello <World>', Html::fromHtml('Hello <World>')]],
4343
['Hello <World>Hello &lt;World&gt;', [Html::fromHtml('Hello <World>'), 'Hello <World>']],
4444
['Hello <World>Hello <World>', [Html::fromHtml('Hello <World>'), Html::fromHtml('Hello <World>')]],
45+
['Hello &#123;my} lord', ['Hello {my} lord']],
4546
['Hello {<!-- -->{my}} lord', ['Hello {{my}} lord']],
4647
];
4748
}

0 commit comments

Comments
 (0)