patch 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim
Commit:
https://github.com/vim/vim/commit/69a28f6c0861523b1a9c565b3c882f439ae73ef4
Author: zeertzjq <[email protected]>
Date: Sat Jul 13 18:59:47 2024 +0200
patch 9.1.0577: Unnecessary checks for v:sizeoflong in test_put.vim
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 <[email protected]>
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim
index 69c2943aa..94e4f475c 100644
--- a/src/testdir/test_put.vim
+++ b/src/testdir/test_put.vim
@@ -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"
diff --git a/src/version.c b/src/version.c
index 9dbe651ab..a1b87b3eb 100644
--- a/src/version.c
+++ b/src/version.c
@@ -704,6 +704,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 577,
/**/
576,
/**/
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1sTxuo-0091CP-Bm%40256bit.org.