1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-08 06:06:45 +02:00

feat(tests): add missed tests for uuid shortcode

This commit is contained in:
Awilum
2022-05-25 18:04:43 +03:00
parent 3216e303d6
commit f317b20ac6

View File

@@ -0,0 +1,10 @@
<?php
declare(strict_types=1);
test('uuid shortcode', function () {
expect(strings(parsers()->shortcodes()->parse('(uuid1)'))->length() > 0)->toBeTrue();
expect(strings(parsers()->shortcodes()->parse('(uuid2)'))->length() > 0)->toBeTrue();
expect(strings(parsers()->shortcodes()->parse('(uuid3)'))->length() > 0)->toBeTrue();
expect(strings(parsers()->shortcodes()->parse('(uuid4)'))->length() > 0)->toBeTrue();
});