aboutsummaryrefslogtreecommitdiffstats
path: root/tests/unit/includes
diff options
context:
space:
mode:
Diffstat (limited to 'tests/unit/includes')
-rw-r--r--tests/unit/includes/MarkdownTest.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/unit/includes/MarkdownTest.php b/tests/unit/includes/MarkdownTest.php
index 87cfc2899..960c15139 100644
--- a/tests/unit/includes/MarkdownTest.php
+++ b/tests/unit/includes/MarkdownTest.php
@@ -89,6 +89,10 @@ class MarkdownTest extends UnitTestCase {
"[code]some code\n over multiple lines\n with indentation[/code]",
"```\nsome code\n over multiple lines\n with indentation\n```"
],
+ 'code block with language' => [
+ "[code=php]<?php\necho phpinfo();[/code]",
+ "```php\n<?php\necho phpinfo();\n```"
+ ],
];
}