mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 05:18:16 +00:00

- Add tests for lua healthchecks (failure, success and submodules). - Reword some of the test naming for improved logs readability. - Modify render test to accomodate the changes of the health autoload function. - Add test for :checkhealth completion of Lua healtchecks.
12 lines
233 B
Lua
12 lines
233 B
Lua
local M = {}
|
|
local health = require("health")
|
|
|
|
M.check = function()
|
|
health.report_start("report 1")
|
|
health.report_ok("everything is fine")
|
|
health.report_start("report 2")
|
|
health.report_ok("nothing to see here")
|
|
end
|
|
|
|
return M
|