diff options
author | Mathias Fußenegger <mfussenegger@users.noreply.github.com> | 2023-11-19 18:37:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-19 18:37:49 +0100 |
commit | 7ca2d64e8bbfb73f33cf82a2f9c03808bfea3d95 (patch) | |
tree | 3eeacbdb315ffa8b582c64ca13fca9b63b49d555 /test/functional/lua/watch_spec.lua | |
parent | ac1113ded5f8f09dd99a9894d7a7e795626fb728 (diff) | |
download | rneovim-7ca2d64e8bbfb73f33cf82a2f9c03808bfea3d95.tar.gz rneovim-7ca2d64e8bbfb73f33cf82a2f9c03808bfea3d95.tar.bz2 rneovim-7ca2d64e8bbfb73f33cf82a2f9c03808bfea3d95.zip |
test: skip failing watch file tests on freebsd (#26110)
Quick fix as follow up to https://github.com/neovim/neovim/pull/26108
kqueue only reports events on a watched folder itself, not for files
created or deleted within. So the approach the PR took doesn't work on FreeBSD.
We'll either need to bring back polling for it, combine watching with manual
file tracking, or disable LSP file watching on FreeBSD
Diffstat (limited to 'test/functional/lua/watch_spec.lua')
-rw-r--r-- | test/functional/lua/watch_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/functional/lua/watch_spec.lua b/test/functional/lua/watch_spec.lua index 711719addb..cdcef08a1a 100644 --- a/test/functional/lua/watch_spec.lua +++ b/test/functional/lua/watch_spec.lua @@ -99,6 +99,7 @@ describe('vim._watch', function() describe('poll', function() it('detects file changes', function() + skip(is_os('bsd'), "bsd only reports rename on folders if file inside change") local root_dir = vim.uv.fs_mkdtemp(vim.fs.dirname(helpers.tmpname()) .. '/nvim_XXXXXXXXXX') local result = exec_lua( |