1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 22:26:46 +02:00

fix(tests): fix tests for shortcodes

This commit is contained in:
Awilum
2022-05-25 15:47:38 +03:00
parent 6face7f82b
commit a20fdb62fe

View File

@@ -343,5 +343,5 @@ test('strings shortcode', function () {
});
test('strings nested shortcode', function () {
expect(parsers()->shortcodes()->parse("(strings append:'(strings hash)(strings random:10 /)(/strings)')Hash: (/strings)"))->toBe('Hash: 66e51cf9114bf1eef8f1793ad1c0e8a1');
expect(parsers()->shortcodes()->parse("(strings append:'(strings hash)(strings upper)foo(/strings)(/strings)')Hash: (/strings)"))->toBe('Hash: 901890a8e9c8cf6d5a1a542b229febff');
});