mirror of
https://github.com/neovim/neovim.git
synced 2025-10-06 18:06:30 +00:00
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:
@@ -1532,8 +1532,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
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user