diff options
Diffstat (limited to 'tests/plugins/PluginMarkdownTest.php')
-rw-r--r-- | tests/plugins/PluginMarkdownTest.php | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/plugins/PluginMarkdownTest.php b/tests/plugins/PluginMarkdownTest.php index 17ef2280..4a67b2dc 100644 --- a/tests/plugins/PluginMarkdownTest.php +++ b/tests/plugins/PluginMarkdownTest.php | |||
@@ -185,4 +185,17 @@ class PluginMarkdownTest extends PHPUnit_Framework_TestCase | |||
185 | $data = process_markdown($md); | 185 | $data = process_markdown($md); |
186 | $this->assertEquals($html, $data); | 186 | $this->assertEquals($html, $data); |
187 | } | 187 | } |
188 | |||
189 | /** | ||
190 | * Test hashtag links processed with markdown. | ||
191 | */ | ||
192 | function testMarkdownHashtagLinks() | ||
193 | { | ||
194 | $md = file_get_contents('tests/plugins/resources/markdown.md'); | ||
195 | $md = format_description($md); | ||
196 | $html = file_get_contents('tests/plugins/resources/markdown.html'); | ||
197 | |||
198 | $data = process_markdown($md); | ||
199 | $this->assertEquals($html, $data); | ||
200 | } | ||
188 | } | 201 | } |