forked from aniani/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 #9072)
This commit is contained in:
@@ -152,6 +152,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:')
|
||||||
|
@@ -757,6 +757,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
3570,
|
||||||
/**/
|
/**/
|
||||||
3569,
|
3569,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user