aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.at9
1 files changed, 6 insertions, 3 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index a1a563d..cbb12d4 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -394,6 +394,11 @@ TE_CHECK([[0EE 255@I/A/J 65001EE 0A-(-2)"N(0/0)' 1A-^^A"N(0/0)' 2A-(-1)"N(0/0)']
TE_CHECK([[@EQa// 0EE 128@I/A/J 65001EE 0Qa-(-2)"N(0/0)' 1Qa-^^A"N(0/0)' 2Qa-(-1)"N(0/0)']], 0, ignore, ignore)
AT_CLEANUP
+AT_SETUP([Glyphs to byte heuristics])
+# Should be fast.
+TE_CHECK([[100000<@I"Ж"> J<:C;> J<.-1:J;> .*2-^E"N(0/0)']], 0, ignore, ignore)
+AT_CLEANUP
+
AT_SETUP([Automatic EOL normalization])
TE_CHECK([[@EB'^EQ[$srcdir]/autoeol-input.txt' EL-2"N(0/0)' 2LR 13@I'' 0EL @EW'autoeol-sciteco.txt']],
0, ignore, ignore)
@@ -542,9 +547,7 @@ AT_CLEANUP
# It could fail because the memory limit is exceeed,
# but not in this case since the match string isn't too large.
AT_SETUP([Pattern matching overflow])
-# NOTE: Creating very long lines would currently be ineffective
-# at least in UTF-8 mode.
-TE_CHECK([[100000<@I"^J">J @S"^EM^X"]], 0, ignore, ignore)
+TE_CHECK([[100000<@I"X">J @S"^EM^X"]], 0, ignore, ignore)
AT_CLEANUP
AT_SETUP([Block-wise backwards search])