mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -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()
|
it('always captures all content of stdout/stderr #30846', function()
|
||||||
t.skip(n.fn.executable('git') == 0, 'missing "git" command')
|
t.skip(n.fn.executable('git') == 0, 'missing "git" command')
|
||||||
|
t.skip(n.fn.isdirectory('.git') == 0, 'missing ".git" directory')
|
||||||
eq(
|
eq(
|
||||||
0,
|
0,
|
||||||
exec_lua(function()
|
exec_lua(function()
|
||||||
|
Loading…
Reference in New Issue
Block a user