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:
Sean Dewar 2022-02-16 22:31:40 +00:00
parent 6890f8774b
commit 308c1952aa
No known key found for this signature in database
GPG Key ID: 08CC2C83AD41B581

View File

@ -139,6 +139,12 @@ func Test_p_with_count_leaves_mark_at_end()
endfunc
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
let @" = 'x'
call assert_fails('norm 44444444444444p', 'E1240:')