0
0
mirror of https://github.com/vim/vim.git synced 2025-08-31 20:53:42 -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:
zeertzjq 2024-07-13 18:59:47 +02:00 committed by Christian Brabandt
parent 71de259e78
commit 69a28f6c08
No known key found for this signature in database
GPG Key ID: F3F92DA383FDDE09
2 changed files with 2 additions and 8 deletions

View File

@ -168,10 +168,6 @@ func Test_very_large_count()
endfunc
func Test_very_large_count_64bit()
if v:sizeoflong < 8
throw 'Skipped: only works with 64 bit long ints'
endif
new
let @" = repeat('x', 100)
call assert_fails('norm 999999999p', 'E1240:')
@ -188,10 +184,6 @@ func Test_very_large_count_block()
endfunc
func Test_very_large_count_block_64bit()
if v:sizeoflong < 8
throw 'Skipped: only works with 64 bit long ints'
endif
new
call setline(1, repeat('x', 100))
exe "norm \<C-V>$y"

View File

@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
577,
/**/
576,
/**/