fix(startup): don't truncate when printing with -l

This commit is contained in:
zeertzjq
2023-07-01 08:16:34 +08:00
parent ada9443999
commit 42a735e524
3 changed files with 24 additions and 3 deletions

View File

@@ -106,6 +106,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"'))