mirror of
https://github.com/vim/vim.git
synced 2025-09-01 21:03:39 -04:00
patch 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim
Problem: Unnecessary checks for v:sizeoflong in test_put.vim. They are no longer necessary as patch 8.2.3661 has changed the count to be within 32-bit integer limit. Solution: Remove the checks (zeertzjq). closes: #15239 Signed-off-by: zeertzjq <zeertzjq@outlook.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
71de259e78
commit
69a28f6c08
@ -168,10 +168,6 @@ func Test_very_large_count()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_very_large_count_64bit()
|
func Test_very_large_count_64bit()
|
||||||
if v:sizeoflong < 8
|
|
||||||
throw 'Skipped: only works with 64 bit long ints'
|
|
||||||
endif
|
|
||||||
|
|
||||||
new
|
new
|
||||||
let @" = repeat('x', 100)
|
let @" = repeat('x', 100)
|
||||||
call assert_fails('norm 999999999p', 'E1240:')
|
call assert_fails('norm 999999999p', 'E1240:')
|
||||||
@ -188,10 +184,6 @@ func Test_very_large_count_block()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_very_large_count_block_64bit()
|
func Test_very_large_count_block_64bit()
|
||||||
if v:sizeoflong < 8
|
|
||||||
throw 'Skipped: only works with 64 bit long ints'
|
|
||||||
endif
|
|
||||||
|
|
||||||
new
|
new
|
||||||
call setline(1, repeat('x', 100))
|
call setline(1, repeat('x', 100))
|
||||||
exe "norm \<C-V>$y"
|
exe "norm \<C-V>$y"
|
||||||
|
@ -704,6 +704,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
577,
|
||||||
/**/
|
/**/
|
||||||
576,
|
576,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user