1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 05:36:54 +02:00

feat(shortcodes): add [tr] shortcode - upd tests

This commit is contained in:
Awilum
2022-05-10 19:23:09 +03:00
parent 8e6674dc15
commit e4eb0e5dc6

View File

@@ -3,5 +3,5 @@
declare(strict_types=1);
test('[tr] shortcode', function () {
expect(parsers()->shortcodes()->parse('[tr find="site_title"]'))->toBe('Site');
expect(parsers()->shortcodes()->parse('[tr find="Foo"]'))->toBe('Foo');
});