aboutsummaryrefslogtreecommitdiff
path: root/test/functional/core/remote_spec.lua
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2023-07-01 08:16:34 +0800
committerGitHub <noreply@github.com>2023-07-01 08:16:34 +0800
commit628f6cce80dea9ef15e23a3ded77dc3f0c912b51 (patch)
tree0156945d78475ea994ee85a34ae07bc1958e3ba8 /test/functional/core/remote_spec.lua
parent2493815290c4cb5b1fb97b6d010c10bdf2d47a58 (diff)
downloadrneovim-628f6cce80dea9ef15e23a3ded77dc3f0c912b51.tar.gz
rneovim-628f6cce80dea9ef15e23a3ded77dc3f0c912b51.tar.bz2
rneovim-628f6cce80dea9ef15e23a3ded77dc3f0c912b51.zip
fix(startup): don't truncate when printing with -l (#24216)
Diffstat (limited to 'test/functional/core/remote_spec.lua')
-rw-r--r--test/functional/core/remote_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/core/remote_spec.lua b/test/functional/core/remote_spec.lua
index 20650bef52..39b1ee2f5f 100644
--- a/test/functional/core/remote_spec.lua
+++ b/test/functional/core/remote_spec.lua
@@ -107,6 +107,7 @@ describe('Remote', function()
eq({ '0', '' }, run_remote('--remote-expr', 'setline(1, "Yo")'))
eq({ 'Yo', '' }, run_remote('--remote-expr', 'getline(1)'))
expect('Yo')
+ eq({ ('k'):rep(1234), '' }, run_remote('--remote-expr', 'repeat("k", 1234)'))
eq({ '1.25', '' }, run_remote('--remote-expr', '1.25'))
eq({ 'no', '' }, run_remote('--remote-expr', '0z6E6F'))
eq({ '\t', '' }, run_remote('--remote-expr', '"\t"'))