mirror of
https://github.com/neovim/neovim.git
synced 2024-12-23 12:45:17 -07:00
fix: unreliable "checkhealth completions" test
ref https://github.com/neovim/neovim/issues/19596 FAILED test/functional/plugin/health_spec.lua @ 37: :checkhealth completions can be listed via getcompletion() test/functional/plugin/health_spec.lua:40: Expected objects to be the same. Passed in: (string) 'provider.node' Expected: (string) 'provider.clipboard' stack traceback: test/functional/plugin/health_spec.lua:40: in function <test/functional/plugin/health_spec.lua:37>
This commit is contained in:
parent
9912a4c81b
commit
f112ac73bd
@ -377,7 +377,9 @@ M._complete = function()
|
||||
end)
|
||||
-- vim.health is this file, which is not a healthcheck
|
||||
unique['vim'] = nil
|
||||
return vim.tbl_keys(unique)
|
||||
local rv = vim.tbl_keys(unique)
|
||||
table.sort(rv)
|
||||
return rv
|
||||
end
|
||||
|
||||
--- Runs the specified healthchecks.
|
||||
|
Loading…
Reference in New Issue
Block a user