summaryrefslogtreecommitdiffstats
path: root/tests/test_md_tw.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-02-25 15:16:32 +0000
committerrsiddharth <s@ricketyspace.net>2018-02-25 15:16:32 +0000
commit98dde38a414d56480dd568de4050bab88ed4b863 (patch)
treecb901bf6c99975670ed1bf94ca6cbc0784488c44 /tests/test_md_tw.py
parent7824e8fbae1849f328af21b17ab107173495c9b4 (diff)
tests: Add TestTWRenderer.test_render_hrule.
* tests/data/renderer-hrules-w.md: New file. * tests/data/renderer-hrules.md: New file. * tests/test_md_tw.p (TestTWRenderer)[test_render_hrule]: New test method.
Diffstat (limited to 'tests/test_md_tw.py')
-rw-r--r--tests/test_md_tw.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/test_md_tw.py b/tests/test_md_tw.py
index 3f5fa20..6f725b6 100644
--- a/tests/test_md_tw.py
+++ b/tests/test_md_tw.py
@@ -819,6 +819,11 @@ class TestTWRenderer(object):
expected_txt = self._get('renderer-lheading-w.md')
self._validate(txt, expected_txt)
+ def test_render_hrule(self):
+ txt = self._md('renderer-hrules.md')
+ expected_txt = self._get('renderer-hrules-w.md')
+ self._validate(txt, expected_txt)
+
def teardown(self):
pass