summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--test/pathological_tests.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/pathological_tests.py b/test/pathological_tests.py
index b033308..eaf0a7c 100644
--- a/test/pathological_tests.py
+++ b/test/pathological_tests.py
@@ -52,7 +52,10 @@ pathological = {
re.compile("(<blockquote>\n){50000}")),
"U+0000 in input":
("abc\u0000de\u0000",
- re.compile("abc\ufffd?de\ufffd?"))
+ re.compile("abc\ufffd?de\ufffd?")),
+ "backticks":
+ ("".join(map(lambda x: ("e" + "`" * x), range(1,10000))),
+ re.compile("^<p>[e`]*</p>\n$"))
}
whitespace_re = re.compile('/s+/')