vim-patch:8.2.3661: test for put with large count fails

Problem:    Test for put with large count fails.
Solution:   Adjust the counts in the test.
8bc07e800c
This commit is contained in:
zeertzjq 2022-02-18 08:55:00 +08:00
parent 330b3da51e
commit 62a1290758
2 changed files with 10 additions and 10 deletions

View File

@ -154,8 +154,8 @@ func Test_very_large_count_64bit()
endif endif
new new
let @" = 'x' let @" = repeat('x', 100)
call assert_fails('norm 44444444444444p', 'E1240:') call assert_fails('norm 999999999p', 'E1240:')
bwipe! bwipe!
endfunc endfunc
@ -176,9 +176,9 @@ func Test_very_large_count_block_64bit()
endif endif
new new
call setline(1, 'x') call setline(1, repeat('x', 100))
exe "norm \<C-V>y" exe "norm \<C-V>$y"
call assert_fails('norm 44444444444444p', 'E1240:') call assert_fails('norm 999999999p', 'E1240:')
bwipe! bwipe!
endfunc endfunc

View File

@ -23,8 +23,8 @@ describe('put', function()
source [[ source [[
new new
let @" = 'x' let @" = repeat('x', 100)
call assert_fails('norm 44444444444444p', 'E1240:') call assert_fails('norm 999999999p', 'E1240:')
bwipe! bwipe!
]] ]]
end) end)
@ -36,9 +36,9 @@ describe('put', function()
source [[ source [[
new new
call setline(1, 'x') call setline(1, repeat('x', 100))
exe "norm \<C-V>y" exe "norm \<C-V>$y"
call assert_fails('norm 44444444444444p', 'E1240:') call assert_fails('norm 999999999p', 'E1240:')
bwipe! bwipe!
]] ]]
end) end)