summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/data/renderer-hrules-w.md19
-rw-r--r--tests/data/renderer-hrules.md19
-rw-r--r--tests/test_md_tw.py5
3 files changed, 43 insertions, 0 deletions
diff --git a/tests/data/renderer-hrules-w.md b/tests/data/renderer-hrules-w.md
new file mode 100644
index 0000000..2b2bc24
--- /dev/null
+++ b/tests/data/renderer-hrules-w.md
@@ -0,0 +1,19 @@
+* * *
+
+Dresden Dolls
+
+***
+
+God Damn The Sun
+
+*****
+
+Backstabber
+
+- - -
+
+Sorry Bunch
+
+---------------------------------------
+
+Gravity
diff --git a/tests/data/renderer-hrules.md b/tests/data/renderer-hrules.md
new file mode 100644
index 0000000..2b2bc24
--- /dev/null
+++ b/tests/data/renderer-hrules.md
@@ -0,0 +1,19 @@
+* * *
+
+Dresden Dolls
+
+***
+
+God Damn The Sun
+
+*****
+
+Backstabber
+
+- - -
+
+Sorry Bunch
+
+---------------------------------------
+
+Gravity
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