diff options
author | Bram Moolenaar <Bram@vim.org> | 2021-11-24 14:59:17 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-24 14:59:17 +0000 |
commit | 8bc07e800c2af36686aadd4178cc2671f5c454d4 (patch) | |
tree | df092e6e7570c1a9bb9d5418ffd716eea78f5f4d | |
parent | 9b0e82f35ed4e98414333e71b71ca56219683d16 (diff) | |
download | vim-git-8bc07e800c2af36686aadd4178cc2671f5c454d4.tar.gz |
patch 8.2.3661: test for put with large count failsv8.2.3661
Problem: Test for put with large count fails.
Solution: Adjust the counts in the test.
-rw-r--r-- | src/testdir/test_put.vim | 10 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 7 insertions, 5 deletions
diff --git a/src/testdir/test_put.vim b/src/testdir/test_put.vim index 8e9f3321b..de66a6d7f 100644 --- 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 \<C-V>y" - call assert_fails('norm 44444444444444p', 'E1240:') + call setline(1, repeat('x', 100)) + exe "norm \<C-V>$y" + call assert_fails('norm 999999999p', 'E1240:') bwipe! endfunc diff --git a/src/version.c b/src/version.c index ffc40ef81..1a3919087 100644 --- 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, |