diff src/testdir/test_cmdline.vim @ 10867:9a5a4b36a1c1 v8.0.0323

patch 8.0.0323: one second pause when running cmdline test commit https://github.com/vim/vim/commit/31eb139b8877439d06db0ca57692dfe35fec3f0c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Feb 9 21:44:03 2017 +0100 patch 8.0.0323: one second pause when running cmdline test Problem: When running the command line tests there is a one second wait. Solution: Change an Esc to Ctrl-C. (Yegappan Lakshmanan)
author Christian Brabandt <cb@256bit.org>
date Thu, 09 Feb 2017 21:45:04 +0100
parents 6ae12eba42b5
children f8ebfa168818
line wrap: on
line diff
--- a/src/testdir/test_cmdline.vim
+++ b/src/testdir/test_cmdline.vim
@@ -353,7 +353,7 @@ func Test_getcmdtype()
   call feedkeys("?MyCmd a\<C-R>=Check_cmdline('?')\<CR>\<Esc>", "xt")
 
   call feedkeys(":call input('Answer?')\<CR>", "t")
-  call feedkeys("MyCmd a\<C-R>=Check_cmdline('@')\<CR>\<Esc>", "xt")
+  call feedkeys("MyCmd a\<C-R>=Check_cmdline('@')\<CR>\<C-C>", "xt")
 
   call feedkeys(":insert\<CR>MyCmd a\<C-R>=Check_cmdline('-')\<CR>\<Esc>", "xt")