mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
test(system_spec): check for .git dir before using git (#31458)
This commit is contained in:
parent
8f84167c30
commit
540def7d2c
@ -122,6 +122,7 @@ describe('vim.system', function()
|
||||
|
||||
it('always captures all content of stdout/stderr #30846', function()
|
||||
t.skip(n.fn.executable('git') == 0, 'missing "git" command')
|
||||
t.skip(n.fn.isdirectory('.git') == 0, 'missing ".git" directory')
|
||||
eq(
|
||||
0,
|
||||
exec_lua(function()
|
||||
|
Loading…
Reference in New Issue
Block a user