mirror of
https://github.com/neovim/neovim.git
synced 2026-01-21 04:31:51 +10:00
test/old: cherry-pick patch 8.2.0509 for Test_q_arg()
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user