diff options
author | Waylan Limberg <waylan@gmail.com> | 2007-11-03 20:24:53 +0000 |
---|---|---|
committer | Waylan Limberg <waylan@gmail.com> | 2007-11-03 20:24:53 +0000 |
commit | 5982780c3cc46f18dd3bd93022d61feb2972a843 (patch) | |
tree | 451fb13f6b882b9138c1e991e34d0a97caae4eeb /test-markdown.py | |
parent | 552bd256be6e710766062489132d9ab7ba756b37 (diff) | |
download | markdown-5982780c3cc46f18dd3bd93022d61feb2972a843.tar.gz markdown-5982780c3cc46f18dd3bd93022d61feb2972a843.tar.bz2 markdown-5982780c3cc46f18dd3bd93022d61feb2972a843.zip |
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]
Diffstat (limited to 'test-markdown.py')
-rw-r--r-- | test-markdown.py | 4 |
1 files changed, 2 insertions, 2 deletions
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") |