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:
@ -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,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user