tests/test-minirst.py
changeset 15262 e8076af14498
parent 15261 e2df5b866d22
child 15263 70d7293c41d6
--- a/tests/test-minirst.py	Sat Oct 15 00:39:01 2011 -0500
+++ b/tests/test-minirst.py	Sat Oct 15 00:39:04 2011 -0500
@@ -4,16 +4,18 @@
 def debugformat(title, text, width, **kwargs):
     print "%s formatted to fit within %d characters:" % (title, width)
     formatted = minirst.format(text, width, **kwargs)
-    html = minirst.formathtml(minirst.parse(text, **kwargs)[0])
+    html = minirst.format(text, width, style='html', **kwargs)
     print "-" * 70
     if type(formatted) == tuple:
         print formatted[0]
         print "-" * 70
+        print html
+        print "-" * 70
         pprint(formatted[1])
     else:
         print formatted
-    print "-" * 70
-    print html
+        print "-" * 70
+        print html
     print "-" * 70
     print