vim-patch:8.2.3570: Test_very_large_count fails on 32bit systems

Problem:    Test_very_large_count fails on 32bit systems.
Solution:   Bail out when using 32 bit numbers. (closes vim/vim#9072)
ec6e63079d
This commit is contained in:
Sean Dewar
2022-02-16 21:38:27 +00:00
parent 3fba994de8
commit a256b710a2

View File

@@ -142,6 +142,10 @@ func Test_very_large_count()
" FIXME: should actually check if sizeof(int) == sizeof(long) " FIXME: should actually check if sizeof(int) == sizeof(long)
CheckNotMSWindows CheckNotMSWindows
if v:numbersize != 64
throw 'Skipped: only works with 64 bit numbers'
endif
new new
let @" = 'x' let @" = 'x'
call assert_fails('norm 44444444444444p', 'E1240:') call assert_fails('norm 44444444444444p', 'E1240:')