mirror of
https://github.com/neovim/neovim.git
synced 2025-09-06 03:18:16 +00:00
vim-patch:8.2.3577: overflow check fails with 32 ints
Problem: Overflow check fails with 32 ints.
Solution: Only test with 64 bit ints.
0f0044125c
This commit is contained in:
@@ -139,6 +139,12 @@ func Test_p_with_count_leaves_mark_at_end()
|
|||||||
endfunc
|
endfunc
|
||||||
|
|
||||||
func Test_very_large_count()
|
func Test_very_large_count()
|
||||||
|
throw 'Skipped: v:sizeofint is N/A'
|
||||||
|
|
||||||
|
if v:sizeofint != 8
|
||||||
|
throw 'Skipped: only works with 64 bit ints'
|
||||||
|
endif
|
||||||
|
|
||||||
new
|
new
|
||||||
let @" = 'x'
|
let @" = 'x'
|
||||||
call assert_fails('norm 44444444444444p', 'E1240:')
|
call assert_fails('norm 44444444444444p', 'E1240:')
|
||||||
|
Reference in New Issue
Block a user