summaryrefslogtreecommitdiffstats
path: root/tests/test_compile_markdown.py
diff options
context:
space:
mode:
authorLibravatarDererk <dererk@debian.org>2015-11-11 16:34:34 -0300
committerLibravatarDererk <dererk@debian.org>2015-11-11 16:34:34 -0300
commit4e3224c012df9f74f010eb92203520515e8537b9 (patch)
tree19322dc0c595268cb6864f21d7e92fd93cb826e9 /tests/test_compile_markdown.py
parent787b97a4cb24330b36f11297c6d3a7a473a907d0 (diff)
Imported Upstream version 7.7.3upstream/7.7.3
Diffstat (limited to 'tests/test_compile_markdown.py')
-rw-r--r--tests/test_compile_markdown.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/test_compile_markdown.py b/tests/test_compile_markdown.py
index 47cbdbb..2275b04 100644
--- a/tests/test_compile_markdown.py
+++ b/tests/test_compile_markdown.py
@@ -61,6 +61,13 @@ class CompileMarkdownTests(BaseTestCase):
actual_output = self.compile(input_str)
self.assertEquals(actual_output.strip(), expected_output.strip())
+ def test_compile_strikethrough(self):
+ input_str = '~~strik text~~'
+ expected_output = '<p><del>strik text</del></p>'
+
+ actual_output = self.compile(input_str)
+ self.assertEquals(actual_output.strip(), expected_output.strip())
+
def test_compile_html_gist(self):
input_str = '''\
Here's a gist file inline: