0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00

patch 8.2.3472: other crashes with empty search pattern not tested

Problem:    Other crashes with empty search pattern not tested.
Solution:   Add a few more test lines. (Dominique Pellé)
This commit is contained in:
Bram Moolenaar 2021-10-04 20:09:19 +01:00
parent d8d957de86
commit 9af9fd6ab6
2 changed files with 7 additions and 2 deletions

View File

@ -1982,8 +1982,11 @@ func Test_no_last_search_pattern()
let @/ = "" let @/ = ""
set incsearch set incsearch
" this was causing a crash " these were causing a crash
call feedkeys("//\x14", 'xt') call feedkeys("//\<C-G>", 'xt')
call feedkeys("//\<C-T>", 'xt')
call feedkeys("??\<C-G>", 'xt')
call feedkeys("??\<C-T>", 'xt')
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 */
/**/
3472,
/**/ /**/
3471, 3471,
/**/ /**/