Skip to content
Permalink
Browse files

“Fix” the failing markdown/pygments test

  • Loading branch information
Kwpolska committed Feb 17, 2016
1 parent c7c68df commit 3be8499c7c8a70d2ff36fbedceecce9b5e3165c4
Showing with 3 additions and 3 deletions.
  1. +3 −3 tests/test_compile_markdown.py
@@ -52,7 +52,7 @@ def test_compile_html_code_hilite(self):
expected_output = '''\
<table class="codehilitetable"><tr><td class="linenos">\
<div class="linenodiv"><pre>1</pre></div>\
</td><td class="code"><pre class="code literal-block">\
</td><td class="code"><pre class="code literal-block"><span></span>\
<span class="kn">from</span> <span class="nn">this</span>
</pre>
</td></tr></table>
@@ -62,8 +62,8 @@ def test_compile_html_code_hilite(self):
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>'
input_str = '~~striked out text~~'
expected_output = '<p><del>striked out text</del></p>'

actual_output = self.compile(input_str)
self.assertEquals(actual_output.strip(), expected_output.strip())

0 comments on commit 3be8499

Please sign in to comment.