aboutsummaryrefslogtreecommitdiff
path: root/test/functional/plugin/health_spec.lua
diff options
context:
space:
mode:
authorGregory Anders <greg@gpanders.com>2023-04-10 16:48:58 -0600
committerdundargoc <33953936+dundargoc@users.noreply.github.com>2024-01-01 20:12:37 +0100
commit164f1ea06d17e935f41e178e46bb05bbb676af20 (patch)
tree6e04a060877aef5f979326ae025329828dcb4ac9 /test/functional/plugin/health_spec.lua
parentb49d4e18a67d16548fa72013237a87564656170e (diff)
downloadrneovim-164f1ea06d17e935f41e178e46bb05bbb676af20.tar.gz
rneovim-164f1ea06d17e935f41e178e46bb05bbb676af20.tar.bz2
rneovim-164f1ea06d17e935f41e178e46bb05bbb676af20.zip
refactor(health): refactor provider healthchecks
* Prefer pure Lua functions over vim.fn * Split up provider healthchecks into separate modules to help manage complexity
Diffstat (limited to 'test/functional/plugin/health_spec.lua')
-rw-r--r--test/functional/plugin/health_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/functional/plugin/health_spec.lua b/test/functional/plugin/health_spec.lua
index 9120655724..5d32768260 100644
--- a/test/functional/plugin/health_spec.lua
+++ b/test/functional/plugin/health_spec.lua
@@ -36,7 +36,7 @@ describe(':checkhealth', function()
it('completions can be listed via getcompletion()', function()
clear()
eq('nvim', getcompletion('nvim', 'checkhealth')[1])
- eq('provider', getcompletion('prov', 'checkhealth')[1])
+ eq('provider.clipboard', getcompletion('prov', 'checkhealth')[1])
eq('vim.lsp', getcompletion('vim.ls', 'checkhealth')[1])
neq('vim', getcompletion('^vim', 'checkhealth')[1]) -- should not complete vim.health
end)