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

This commit is contained in:
zeertzjq
2023-07-01 08:16:34 +08:00
committed by GitHub
parent 2493815290
commit 628f6cce80
3 changed files with 24 additions and 3 deletions

View File

@@ -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"'))