diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-10 13:06:06 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-10 13:06:06 -0700 |
commit | 4765fff411c4629ef8887d813ebd669b803b7336 (patch) | |
tree | ee28871576eb54b213f46a5db26d96ec8463d97f | |
parent | e1db44b114620c5a23708d851d64fb53dd84bde9 (diff) |
Added pathological test case for jgm/commonmark#43.
Many closers with no openers.
-rw-r--r-- | test/pathological_tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py index 0e991f9..450acbf 100644 --- a/test/pathological_tests.py +++ b/test/pathological_tests.py @@ -23,6 +23,9 @@ pathological = { "nested strong emph": (("*a **a " * 65000) + "b" + (" a** a*" * 65000), re.compile("(<em>a <strong>a ){65000}b( a</strong> a</em>){65000}")), + "many emph closers with no openers": + (("a_ " * 65000), + re.compile("(a[_] ){64999}a_")), "nested brackets": (("[" * 50000) + "a" + ("]" * 50000), re.compile("\[{50000}a\]{50000}")), |