test: skip another flaky test on macOS (#28087)

This commit is contained in:
zeertzjq
2024-03-29 06:26:01 +08:00
committed by GitHub
parent 00b7428b3b
commit 4e56f7f0be
3 changed files with 16 additions and 8 deletions

View File

@@ -22,12 +22,12 @@ describe('vim._watch', function()
local function run(watchfunc)
it('detects file changes (watchfunc=' .. watchfunc .. '())', function()
if watchfunc == 'fswatch' then
skip(is_os('win'), 'not supported on windows')
skip(is_os('mac'), 'flaky test on mac')
skip(
not is_ci() and helpers.fn.executable('fswatch') == 0,
'fswatch not installed and not on CI'
)
skip(is_os('win'), 'not supported on windows')
end
if watchfunc == 'watch' then