diff options
author | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-10-07 00:58:11 +0300 |
---|---|---|
committer | Robin Haberkorn <rhaberkorn@fmsbw.de> | 2025-10-07 00:58:11 +0300 |
commit | a62323baa454b4a6ac698067043c8d4cf50c6561 (patch) | |
tree | 63ae9b62c0a84c2734a443e285c752ac92240e97 /tests | |
parent | 6a4b90c02f4b4991f20206d116196c8bdeca9da8 (diff) | |
download | sciteco-a62323baa454b4a6ac698067043c8d4cf50c6561.tar.gz |
throw an error immediately after nEB if n != 0
* When typing nEBfilename$ (n != 0) you would find out that the construct is invalid
only after typing out the entire command.
We now throw an error immediately, ie. only Escape or string termination will be expected
in interactive mode.
* In batch mode, nothing should have changed.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testsuite.at | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index be064cd..38035a8 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -332,6 +332,9 @@ AT_SETUP([Opening/closing buffers]) TE_CHECK([[@EB/foo/ @I/XXX/ -EF :Q*"N(0/0)']], 0, ignore, ignore) TE_CHECK([[@EB/foo/ @I/XXX/ :EF :Q*"N(0/0)' @EB/foo/ Z-3"N(0/0)']], 0, ignore, ignore) TE_CHECK([[@EB/foo/ 1EF :Q*"=(0/0)']], 0, ignore, ignore) +# Open by id +TE_CHECK([[1@EB//]], 0, ignore, ignore) +TE_CHECK([[1@EB/foo/]], 1, ignore, ignore) AT_CLEANUP AT_SETUP([Read file into current buffer]) |