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:
parent
d8d957de86
commit
9af9fd6ab6
@ -1982,8 +1982,11 @@ func Test_no_last_search_pattern()
|
||||
|
||||
let @/ = ""
|
||||
set incsearch
|
||||
" this was causing a crash
|
||||
call feedkeys("//\x14", 'xt')
|
||||
" these were causing a crash
|
||||
call feedkeys("//\<C-G>", 'xt')
|
||||
call feedkeys("//\<C-T>", 'xt')
|
||||
call feedkeys("??\<C-G>", 'xt')
|
||||
call feedkeys("??\<C-T>", 'xt')
|
||||
endfunc
|
||||
|
||||
|
||||
|
@ -757,6 +757,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
3472,
|
||||
/**/
|
||||
3471,
|
||||
/**/
|
||||
|
Loading…
x
Reference in New Issue
Block a user