1
0
forked from aniani/vim

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.
This commit is contained in:
Bram Moolenaar
2021-11-24 14:59:17 +00:00
parent 9b0e82f35e
commit 8bc07e800c
2 changed files with 7 additions and 5 deletions

View File

@@ -162,8 +162,8 @@ func Test_very_large_count_64bit()
endif endif
new new
let @" = 'x' let @" = repeat('x', 100)
call assert_fails('norm 44444444444444p', 'E1240:') call assert_fails('norm 999999999p', 'E1240:')
bwipe! bwipe!
endfunc endfunc
@@ -182,9 +182,9 @@ func Test_very_large_count_block_64bit()
endif endif
new new
call setline(1, 'x') call setline(1, repeat('x', 100))
exe "norm \<C-V>y" exe "norm \<C-V>$y"
call assert_fails('norm 44444444444444p', 'E1240:') call assert_fails('norm 999999999p', 'E1240:')
bwipe! bwipe!
endfunc endfunc

View File

@@ -757,6 +757,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
3661,
/**/ /**/
3660, 3660,
/**/ /**/