From 5982780c3cc46f18dd3bd93022d61feb2972a843 Mon Sep 17 00:00:00 2001 From: Waylan Limberg Date: Sat, 3 Nov 2007 20:24:53 +0000 Subject: Allow repeated calls to md.convert to pass in an empty string. Also fixed testing framework to allow tests for this and added tests. Fixes [1825231] --- test-markdown.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'test-markdown.py') diff --git a/test-markdown.py b/test-markdown.py index b9f5cdf..94fdda4 100644 --- a/test-markdown.py +++ b/test-markdown.py @@ -232,7 +232,7 @@ def testDirectory(dir, measure_time = False) : actual_output = "" actual_lines = [] - md.source = "" + #md.source = "" gc.collect() mem = memory() t = time.clock() @@ -348,7 +348,7 @@ markdown = __import__(MARKDOWN_FILE) #testDirectory("tests/basic") -#testDirectory("tests/markdown-test", measure_time=True) +testDirectory("tests/markdown-test", measure_time=True) testDirectory("tests/misc", measure_time=True) #testDirectory("tests/extensions-x-footnotes-toc") -- cgit v1.2.3