summaryrefslogtreecommitdiff
path: root/src/testdir
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2021-10-04 20:09:19 +0100
committerBram Moolenaar <Bram@vim.org>2021-10-04 20:09:19 +0100
commit9af9fd6ab637ea507dd9015fa5a84a408c36c1e0 (patch)
tree7077d469ddb58f44f61ebd943021c8b93b3820c5 /src/testdir
parentd8d957de86f218de9124ca1209548f8c6f61b69b (diff)
downloadvim-git-9af9fd6ab637ea507dd9015fa5a84a408c36c1e0.tar.gz
patch 8.2.3472: other crashes with empty search pattern not testedv8.2.3472
Problem: Other crashes with empty search pattern not tested. Solution: Add a few more test lines. (Dominique Pellé)
Diffstat (limited to 'src/testdir')
-rw-r--r--src/testdir/test_search.vim7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/testdir/test_search.vim b/src/testdir/test_search.vim
index bc2b3ad7b..bb4e45def 100644
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -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