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

View File

@@ -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:')