Skip to content

Commit

Permalink
Update TranslatorTest.phpt
Browse files Browse the repository at this point in the history
  • Loading branch information
aleswita committed Jul 22, 2021
1 parent ba19bec commit f1bb909
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Tests/TranslatorTest.phpt
Expand Up @@ -275,6 +275,7 @@ final class TranslatorTest extends TestAbstract
Assert::exception(function () use ($latte): void {
$latte->renderToString(FileMock::create('{translator}{_depth.message}{/translator}'));
}, CompileException::class);
Assert::same('<div>Hello</div>', $latte->renderToString(FileMock::create('<div n:translator="some.prefix">{_//messages.hello}</div>')));
}

public function test04(): void
Expand Down

0 comments on commit f1bb909

Please sign in to comment.