aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures/lua/test_plug/submodule_failed
diff options
context:
space:
mode:
Diffstat (limited to 'test/functional/fixtures/lua/test_plug/submodule_failed')
-rw-r--r--test/functional/fixtures/lua/test_plug/submodule_failed/health.lua7
1 files changed, 3 insertions, 4 deletions
diff --git a/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua b/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua
index 3a8af6ebb2..ee5f4e404b 100644
--- a/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua
+++ b/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua
@@ -1,10 +1,9 @@
local M = {}
-local health = require("health")
M.check = function()
- health.report_start("report 1")
- health.report_ok("everything is fine")
- health.report_warn("About to add a number to nil")
+ vim.health.report_start("report 1")
+ vim.health.report_ok("everything is fine")
+ vim.health.report_warn("About to add a number to nil")
local a = nil + 2
return a
end