mirror of
https://github.com/neovim/neovim.git
synced 2025-09-30 15:08:35 +00:00
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:
@@ -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:')
|
||||||
|
Reference in New Issue
Block a user