mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
test/old: cherry-pick patch 8.2.0509 for Test_q_arg()
This commit is contained in:
parent
e632e30b8a
commit
485e5022fc
@ -2,6 +2,7 @@
|
||||
|
||||
source shared.vim
|
||||
source screendump.vim
|
||||
source term_util.vim
|
||||
source check.vim
|
||||
|
||||
" Check that loading startup.vim works.
|
||||
@ -324,6 +325,10 @@ func Test_q_arg()
|
||||
\ lines)
|
||||
endif
|
||||
|
||||
" Test with a non-existing error file (exits with value 3)
|
||||
let out = system(GetVimCommand() .. ' -q xyz.err')
|
||||
call assert_equal(3, v:shell_error)
|
||||
|
||||
call delete('Xtestout')
|
||||
call delete('Xerrors')
|
||||
endfunc
|
||||
|
Loading…
Reference in New Issue
Block a user