vim-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é)
9af9fd6ab6
This commit is contained in:
zeertzjq
2022-04-01 17:12:09 +08:00
parent 649a11bc13
commit b8fbd749a9

View File

@@ -1532,8 +1532,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