diff --git a/test/functional/lua/system_spec.lua b/test/functional/lua/system_spec.lua index 79a70c9c72..6c320376c9 100644 --- a/test/functional/lua/system_spec.lua +++ b/test/functional/lua/system_spec.lua @@ -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()