mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
330b3da51e
commit
62a1290758
@ -154,8 +154,8 @@ func Test_very_large_count_64bit()
|
||||
endif
|
||||
|
||||
new
|
||||
let @" = 'x'
|
||||
call assert_fails('norm 44444444444444p', 'E1240:')
|
||||
let @" = repeat('x', 100)
|
||||
call assert_fails('norm 999999999p', 'E1240:')
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
@ -176,9 +176,9 @@ func Test_very_large_count_block_64bit()
|
||||
endif
|
||||
|
||||
new
|
||||
call setline(1, 'x')
|
||||
exe "norm \<C-V>y"
|
||||
call assert_fails('norm 44444444444444p', 'E1240:')
|
||||
call setline(1, repeat('x', 100))
|
||||
exe "norm \<C-V>$y"
|
||||
call assert_fails('norm 999999999p', 'E1240:')
|
||||
bwipe!
|
||||
endfunc
|
||||
|
||||
|
@ -23,8 +23,8 @@ describe('put', function()
|
||||
|
||||
source [[
|
||||
new
|
||||
let @" = 'x'
|
||||
call assert_fails('norm 44444444444444p', 'E1240:')
|
||||
let @" = repeat('x', 100)
|
||||
call assert_fails('norm 999999999p', 'E1240:')
|
||||
bwipe!
|
||||
]]
|
||||
end)
|
||||
@ -36,9 +36,9 @@ describe('put', function()
|
||||
|
||||
source [[
|
||||
new
|
||||
call setline(1, 'x')
|
||||
exe "norm \<C-V>y"
|
||||
call assert_fails('norm 44444444444444p', 'E1240:')
|
||||
call setline(1, repeat('x', 100))
|
||||
exe "norm \<C-V>$y"
|
||||
call assert_fails('norm 999999999p', 'E1240:')
|
||||
bwipe!
|
||||
]]
|
||||
end)
|
||||
|
Loading…
Reference in New Issue
Block a user