aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests
diff options
context:
space:
mode:
authorRobin Haberkorn <rhaberkorn@fmsbw.de>2026-01-18 21:36:56 +0100
committerRobin Haberkorn <rhaberkorn@fmsbw.de>2026-01-18 21:36:56 +0100
commit3deb2b3970cb344d0c615e9d41a5fe7f3baf1417 (patch)
tree144aa3f120d4276aa5d15496c8927ed050350af7 /tests
parentb5dac044ddda2d2057d1d785d5827c1b890c90b6 (diff)
fixed auto-completion of Unicode file names
* teco_string_diff() could return a number of bytes in the middle of an Unicode sequence. It now also requires Unicode strings. * Added a missing Unicode-validity check when replacing command lines (`{` and `}`). teco_cmdline_insert() should really be refactored, though (FIXME). * Added test case
Diffstat (limited to 'tests')
-rw-r--r--tests/testsuite.at5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index f34eee3..23e2dab 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -439,6 +439,11 @@ TE_CHECK_CMDLINE([[@^Um{^C^C} Mm]], 0, ignore, stderr)
AT_FAIL_IF([! $GREP "^Error:" stderr])
AT_CLEANUP
+AT_SETUP([Replace non-Unicode command-line])
+TE_CHECK_CMDLINE([[{0EE 255@I//}]], 0, ignore, stderr)
+AT_FAIL_IF([! $GREP "^Error:" stderr])
+AT_CLEANUP
+
AT_BANNER([Standard library])
AT_SETUP([Option parser])