diff src/testdir/test_search.vim @ 15263:ad065b8123e8 v8.1.0640

patch 8.1.0640: get E14 while typing command :tab with 'incsearch' set commit https://github.com/vim/vim/commit/548e5985734e4b216852205879daf9bfb00dbe5a Author: Bram Moolenaar <Bram@vim.org> Date: Wed Dec 26 21:45:00 2018 +0100 patch 8.1.0640: get E14 while typing command :tab with 'incsearch' set Problem: Get E14 while typing command :tab with 'incsearch' set. Solution: Do not give an error when looking for the command. (Yasuhiro Higashi)
author Bram Moolenaar <Bram@vim.org>
date Wed, 26 Dec 2018 22:00:06 +0100
parents 27ba8d007a86
children 2dcaa860e3fc
line wrap: on
line diff
--- a/src/testdir/test_search.vim
+++ b/src/testdir/test_search.vim
@@ -783,6 +783,20 @@ func Test_search_cmdline_incsearch_highl
   bwipe!
 endfunc
 
+func Test_incsearch_cmdline_modifier()
+  if !exists('+incsearch')
+    return
+  endif
+  call test_override("char_avail", 1)
+  new
+  call setline(1, ['foo'])
+  set incsearch
+  " Test that error E14 does not occur in parsing command modifier.
+  call feedkeys("V:tab", 'tx')
+
+  call Incsearch_cleanup()
+endfunc
+
 func Test_incsearch_scrolling()
   if !CanRunVimInTerminal()
     return