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:
@@ -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');
|
||||
});
|
||||
|
Reference in New Issue
Block a user