diff options
author | John MacFarlane <jgm@berkeley.edu> | 2015-06-11 10:10:33 -0700 |
---|---|---|
committer | John MacFarlane <jgm@berkeley.edu> | 2015-06-11 10:10:33 -0700 |
commit | 4224dc159cdd0b4429a566a14792c0abc0f5f62a (patch) | |
tree | 03e9bb6e12abfd67c67d38cb6d2f2df9335d2b69 /test | |
parent | eba54eb5769075d29f21f11cbb011f6d537d9f8c (diff) |
Added another case to pathological tests.
"*a_ " * 20000
See jgm/commonmark#43.
Diffstat (limited to 'test')
-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 3b3374b..abc67ce 100644 --- a/test/pathological_tests.py +++ b/test/pathological_tests.py @@ -40,6 +40,9 @@ pathological = { "mismatched openers and closers": (("*a_ " * 50000), re.compile("([*]a[_] ){49999}[*]a_")), + "link openers and emph closers": + (("[ a_" * 50000), + re.compile("(\[ a_){50000}")), "nested brackets": (("[" * 50000) + "a" + ("]" * 50000), re.compile("\[{50000}a\]{50000}")), |