mirror of
https://github.com/neovim/neovim.git
synced 2025-09-07 11:58:17 +00:00
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
This commit is contained in:

committed by
GitHub

parent
ac1113ded5
commit
7ca2d64e8b
@@ -4026,6 +4026,7 @@ describe('LSP', function()
|
||||
|
||||
describe('vim.lsp._watchfiles', function()
|
||||
it('sends notifications when files change', function()
|
||||
skip(is_os('bsd'), "bsd only reports rename on folders if file inside change")
|
||||
local root_dir = helpers.tmpname()
|
||||
os.remove(root_dir)
|
||||
mkdir(root_dir)
|
||||
|
Reference in New Issue
Block a user