diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-19 22:34:57 +0300 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2025-07-19 22:34:57 +0300 |
commit | ac180a94ff749f5df7705279d3d08258417b9b34 (patch) | |
tree | 43265de4d2630c9bf2d4920b7d6ad0e4c34c5d0e /tests | |
parent | afdb2acdecf4b563ed037f983b820ce82f6735ba (diff) | |
download | sciteco-ac180a94ff749f5df7705279d3d08258417b9b34.tar.gz |
special Q-registers `$` (working directory) and the clipboard registers now support the append operation (:Xq, :^Uq...)
Works via a default implementation in the "external" Q-register "class"
by first querying the string, appending and re-setting it.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/testsuite.at | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at index 034427f..2c9bec9 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -303,6 +303,11 @@ AT_SETUP([Memory limiting]) TE_CHECK([[50*1000*1000,2EJ <[a> !]!]], 1, ignore, ignore) AT_CLEANUP +AT_SETUP([Change working directory]) +TE_CHECK([[:Q$Ul @FG'..' Ql-:Q$-1"<(0/0)']], 0, ignore, ignore) +TE_CHECK([[:Q$Ul :@^U$'/..' Ql-:Q$-1"<(0/0)']], 0, ignore, ignore) +AT_CLEANUP + AT_SETUP([Execute external command]) # TODO: It would be a better test to generate a random number of bytes. # Unfortunately, neither $RANDOM, shuf nor jot are portable. |