summaryrefslogtreecommitdiff
path: root/test/pathological_tests.py
diff options
context:
space:
mode:
authorJohn MacFarlane <jgm@berkeley.edu>2015-06-17 12:35:40 -0700
committerJohn MacFarlane <jgm@berkeley.edu>2015-06-17 12:35:40 -0700
commit54cf0c7d7d46b1cd90fa8f0ad0daf79ac9684978 (patch)
tree90851252b10a2b9e19f4f2d0c2369dce400b2fc2 /test/pathological_tests.py
parent4459a62c666c6c4b4f46a093f7c9fe7a476534aa (diff)
Added case for #59 to pathological_test.py.
Diffstat (limited to 'test/pathological_tests.py')
-rw-r--r--test/pathological_tests.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py
index fe5d2e4..f3aa5a2 100644
--- a/test/pathological_tests.py
+++ b/test/pathological_tests.py
@@ -41,6 +41,9 @@ pathological = {
"link openers and emph closers":
(("[ a_" * 50000),
re.compile("(\[ a_){50000}")),
+ "hard link/emph case":
+ ("**x [a*b**c*](d)",
+ re.compile("\\*\\*x <a href=\"d\">a<em>b</em><em>c</em></a>")),
"nested brackets":
(("[" * 50000) + "a" + ("]" * 50000),
re.compile("\[{50000}a\]{50000}")),