diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-13 18:35:32 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-13 18:35:32 +0300 |
commit | fbab5e252f22de37d42cc6c2a014d690a9312565 (patch) | |
tree | 9552e56a343e5b9e273021ab53c376d773486447 /tests/testsuite.at | |
parent | 8c6de6cc718debf44f6056a4c34c4fbb13bc5020 (diff) | |
download | sciteco-fbab5e252f22de37d42cc6c2a014d690a9312565.tar.gz |
implemented <ER> command for reading a file into the current buffer
* This command exists in Video TECO.
In Video TECO it also supports reading multiple files with a glob pattern -- we do not support that
as I am not convinced of its usefulness.
* teco_view_load() has been extended, so it can read into dot without
discarding the existing document.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r-- | tests/testsuite.at | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index b0db94d..8d4daa7 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -245,6 +245,12 @@ TE_CHECK([[@EB/foo/ @I/XXX/ :EF :Q*"N(0/0)' @EB/foo/ Z-3"N(0/0)']], 0, ignore, i TE_CHECK([[@EB/foo/ 1EF :Q*"=(0/0)']], 0, ignore, ignore) AT_CLEANUP +AT_SETUP([Read file into current buffer]) +AT_DATA([test.txt], [[0123456789 +]]) +TE_CHECK([[@I/Helloworld/5R @ER"test.txt" .-5-11"N(0/0)']], 0, ignore, ignore) +AT_CLEANUP + AT_SETUP([8-bit cleanliness]) TE_CHECK([[0@I//J 0A"N(0/0)' :@S/^@/"F(0/0)']], 0, ignore, ignore) TE_CHECK([[@EQa//0EE 1U*0EE 0:@EUa/f^@^@/ :Qa-4"N(0/0)' Ga Z-4"N(0/0)']], 0, ignore, ignore) |