Permalink
Browse files

patch 8.0.1784: gvim test gets stuck in dialog

Problem:    Gvim test gets stuck in dialog.
Solution:   Rename the file used.
  • Loading branch information...
brammool committed May 1, 2018
1 parent c5cd885 commit bc7845da935c0707e119812077cecd6cfb5a65e2
Showing with 6 additions and 4 deletions.
  1. +4 −4 src/testdir/test_quickfix.vim
  2. +2 −0 src/version.c
@@ -1154,18 +1154,18 @@ func Test_efm2()
" Test for %o
set efm=%f(%o):%l\ %m
cgetexpr ['Xtestfile(Language.PureScript.Types):20 Error']
call writefile(['Line1'], 'Xtestfile')
cgetexpr ['Xotestfile(Language.PureScript.Types):20 Error']
call writefile(['Line1'], 'Xotestfile')
let l = getqflist()
call assert_equal(1, len(l), string(l))
call assert_equal('Language.PureScript.Types', l[0].module)
copen
call assert_equal('Language.PureScript.Types|20| Error', getline(1))
call feedkeys("\<CR>", 'xn')
call assert_equal('Xtestfile', expand('%:t'))
call assert_equal('Xotestfile', expand('%:t'))
cclose
bd
call delete("Xtestfile")
call delete("Xotestfile")
" The following sequence of commands used to crash Vim
set efm=%W%m
@@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
1784,
/**/
1783,
/**/

0 comments on commit bc7845d

Please sign in to comment.