diff options
author | zeertzjq <zeertzjq@outlook.com> | 2022-04-01 17:12:09 +0800 |
---|---|---|
committer | zeertzjq <zeertzjq@outlook.com> | 2022-04-01 17:12:17 +0800 |
commit | b8fbd749a9d814f227c26d02f17f805435856677 (patch) | |
tree | 870b3abbbc2e024ca0bc767d26a6d03731cd26ad /src | |
parent | 649a11bc139d109e8a3adc893a9e53ab32cf248c (diff) | |
download | rneovim-b8fbd749a9d814f227c26d02f17f805435856677.tar.gz rneovim-b8fbd749a9d814f227c26d02f17f805435856677.tar.bz2 rneovim-b8fbd749a9d814f227c26d02f17f805435856677.zip |
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é)
https://github.com/vim/vim/commit/9af9fd6ab637ea507dd9015fa5a84a408c36c1e0
Diffstat (limited to 'src')
-rw-r--r-- | src/nvim/testdir/test_search.vim | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/nvim/testdir/test_search.vim b/src/nvim/testdir/test_search.vim index f88017388a..040267c136 100644 --- a/src/nvim/testdir/test_search.vim +++ b/src/nvim/testdir/test_search.vim @@ -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 |