# HG changeset patch # User Bram Moolenaar # Date 1637766005 -3600 # Node ID 164db42130ec4e6d86a5c9d1d0c870c7e679bea9 # Parent e6705546cb6fba8b289b6d98e300ae4890d86a82 patch 8.2.3661: test for put with large count fails Commit: https://github.com/vim/vim/commit/8bc07e800c2af36686aadd4178cc2671f5c454d4 Author: Bram Moolenaar Date: Wed Nov 24 14:59:17 2021 +0000 patch 8.2.3661: test for put with large count fails Problem: Test for put with large count fails. Solution: Adjust the counts in the test. diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim --- a/src/testdir/test_put.vim +++ b/src/testdir/test_put.vim @@ -162,8 +162,8 @@ func Test_very_large_count_64bit() endif new - let @" = 'x' - call assert_fails('norm 44444444444444p', 'E1240:') + let @" = repeat('x', 100) + call assert_fails('norm 999999999p', 'E1240:') bwipe! endfunc @@ -182,9 +182,9 @@ func Test_very_large_count_block_64bit() endif new - call setline(1, 'x') - exe "norm \y" - call assert_fails('norm 44444444444444p', 'E1240:') + call setline(1, repeat('x', 100)) + exe "norm \$y" + call assert_fails('norm 999999999p', 'E1240:') bwipe! endfunc diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 3661, +/**/ 3660, /**/ 3659,