1
0
mirror of https://github.com/flextype/flextype.git synced 2025-08-07 21:56:33 +02:00

feat(tests): add test for [markdown] shortcode

This commit is contained in:
Awilum
2022-04-12 15:48:39 +03:00
parent 3beb1fe3fa
commit 9a3ee1825d

View File

@@ -0,0 +1,8 @@
<?php
declare(strict_types=1);
test('[php] shortcode', function () {
$this->assertEquals("Foo",
parsers()->shortcodes()->parse('[php]echo "Foo";[/php]'));
});