vim-patch:8.0.1784: gvim test gets stuck in dialog

Problem:    Gvim test gets stuck in dialog.
Solution:   Rename the file used.
bc7845da93
This commit is contained in:
Jan Edmund Lazo 2019-06-06 05:22:55 -04:00
parent fb2b0fa5ba
commit 7d345a7294

View File

@ -1139,18 +1139,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