summaryrefslogtreecommitdiffstats
path: root/tests/test_md_tw.py
diff options
context:
space:
mode:
authorrsiddharth <s@ricketyspace.net>2018-02-26 00:24:02 +0000
committerrsiddharth <s@ricketyspace.net>2018-02-26 00:24:02 +0000
commitcdd32e767b648002aa0ad3f9a563c971d46b9b8f (patch)
tree5b80218e366c900ff14770f33c483ccbdb1eb69f /tests/test_md_tw.py
parent34093b77787cffda9e84b16d133ee7fc5fcb777b (diff)
tests: Add TestTWRenderer.test_render_def_link.
* tests/data/renderer-def-links-w.md: New file. * tests/data/renderer-def-links.md: New file. * tests/test_md_tw.py (test_render_def_link): 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 620605c..f2f5fd2 100644
--- a/tests/test_md_tw.py
+++ b/tests/test_md_tw.py
@@ -824,6 +824,11 @@ class TestTWRenderer(object):
expected_txt = self._get('renderer-hrules-w.md')
self._validate(txt, expected_txt)
+ def test_render_def_link(self):
+ txt = self._md('renderer-def-links.md')
+ expected_txt = self._get('renderer-def-links-w.md')
+ self._validate(txt, expected_txt)
+
def teardown(self):
pass