mirror of
https://github.com/neovim/neovim.git
synced 2025-11-26 12:10:40 +00:00
committed by
GitHub
parent
d98e5357af
commit
3933592338
@@ -68,4 +68,11 @@ describe('has()', function()
|
||||
eq(0, funcs.has('wsl'))
|
||||
end
|
||||
end)
|
||||
|
||||
it('does not change v:shell_error', function()
|
||||
local nvim_prog = helpers.nvim_prog
|
||||
funcs.system({nvim_prog, '-es', '+73cquit'})
|
||||
funcs.has('python3') -- use a call whose implementation shells out
|
||||
eq(73, funcs.eval('v:shell_error'))
|
||||
end)
|
||||
end)
|
||||
|
||||
Reference in New Issue
Block a user