]> git.ipfire.org Git - thirdparty/vim.git/commitdiff
patch 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim v9.1.0577
authorzeertzjq <zeertzjq@outlook.com>
Sat, 13 Jul 2024 16:59:47 +0000 (18:59 +0200)
committerChristian Brabandt <cb@256bit.org>
Sat, 13 Jul 2024 16:59:47 +0000 (18:59 +0200)
Problem:  Unnecessary checks for v:sizeoflong in test_put.vim.  They are
          no longer necessary as patch 8.2.3661 has changed the count to
          be within 32-bit integer limit.
Solution: Remove the checks (zeertzjq).

closes: #15239

Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/testdir/test_put.vim
src/version.c

index 69c2943aafeb6fa1bb0d5dd2b70daa0dc6011bcf..94e4f475c0175d04f88de4ec571cafb714bc0f58 100644 (file)
@@ -168,10 +168,6 @@ func Test_very_large_count()
 endfunc
 
 func Test_very_large_count_64bit()
-  if v:sizeoflong < 8
-    throw 'Skipped: only works with 64 bit long ints'
-  endif
-
   new
   let @" = repeat('x', 100)
   call assert_fails('norm 999999999p', 'E1240:')
@@ -188,10 +184,6 @@ func Test_very_large_count_block()
 endfunc
 
 func Test_very_large_count_block_64bit()
-  if v:sizeoflong < 8
-    throw 'Skipped: only works with 64 bit long ints'
-  endif
-
   new
   call setline(1, repeat('x', 100))
   exe "norm \<C-V>$y"
index 9dbe651abf0658de53b6b5f79dc682a799eac815..a1b87b3eb408c92b73347119b8161962febb532d 100644 (file)
@@ -704,6 +704,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    577,
 /**/
     576,
 /**/