mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
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:
parent
fb2b0fa5ba
commit
7d345a7294
@ -1139,18 +1139,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
|
||||||
|
Loading…
Reference in New Issue
Block a user