diff src/testdir/test_put.vim @ 26073:948550cae1e7 v8.2.3570

patch 8.2.3570: Test_very_large_count fails on 32bit systems Commit: https://github.com/vim/vim/commit/ec6e63079dde24a1d74b4103775e74d00f9215ec Author: Bram Moolenaar <Bram@vim.org> Date: Mon Nov 1 22:58:43 2021 +0000 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 https://github.com/vim/vim/issues/9072)
author Bram Moolenaar <Bram@vim.org>
date Tue, 02 Nov 2021 00:00:05 +0100
parents b863efc63397
children a60952e58e5d
line wrap: on
line diff
--- a/src/testdir/test_put.vim
+++ b/src/testdir/test_put.vim
@@ -152,6 +152,10 @@ func Test_very_large_count()
   " FIXME: should actually check if sizeof(int) == sizeof(long)
   CheckNotMSWindows
 
+  if v:numbersize != 64
+    throw 'Skipped: only works with 64 bit numbers'
+  endif
+
   new
   let @" = 'x'
   call assert_fails('norm 44444444444444p', 'E1240:')