patch 8.0.1784: gvim test gets stuck in dialog

Problem:    Gvim test gets stuck in dialog.
Solution:   Rename the file used.
This commit is contained in:
Bram Moolenaar
2018-05-01 16:26:48 +02:00
parent c5cd88554f
commit bc7845da93
2 changed files with 6 additions and 4 deletions

View File

@ -1154,18 +1154,18 @@ func Test_efm2()
" Test for %o " Test for %o
set efm=%f(%o):%l\ %m set efm=%f(%o):%l\ %m
cgetexpr ['Xtestfile(Language.PureScript.Types):20 Error'] cgetexpr ['Xotestfile(Language.PureScript.Types):20 Error']
call writefile(['Line1'], 'Xtestfile') call writefile(['Line1'], 'Xotestfile')
let l = getqflist() let l = getqflist()
call assert_equal(1, len(l), string(l)) call assert_equal(1, len(l), string(l))
call assert_equal('Language.PureScript.Types', l[0].module) call assert_equal('Language.PureScript.Types', l[0].module)
copen copen
call assert_equal('Language.PureScript.Types|20| Error', getline(1)) call assert_equal('Language.PureScript.Types|20| Error', getline(1))
call feedkeys("\<CR>", 'xn') call feedkeys("\<CR>", 'xn')
call assert_equal('Xtestfile', expand('%:t')) call assert_equal('Xotestfile', expand('%:t'))
cclose cclose
bd bd
call delete("Xtestfile") call delete("Xotestfile")
" The following sequence of commands used to crash Vim " The following sequence of commands used to crash Vim
set efm=%W%m set efm=%W%m

View File

@ -761,6 +761,8 @@ static char *(features[]) =
static int included_patches[] = static int included_patches[] =
{ /* Add new patch number below this line */ { /* Add new patch number below this line */
/**/
1784,
/**/ /**/
1783, 1783,
/**/ /**/