mirror of
https://github.com/neovim/neovim.git
synced 2025-09-05 19:08:15 +00:00
test(system_spec): check for .git dir before using git (#31458)
This commit is contained in:
@@ -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()
|
||||||
|
Reference in New Issue
Block a user