mirror of
https://github.com/neovim/neovim.git
synced 2025-09-27 05:28:33 +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.
9 lines
364 B
VimL
9 lines
364 B
VimL
function! health#full_render#check()
|
|
call health#report_start("report 1")
|
|
call health#report_ok("life is fine")
|
|
call health#report_warn("no what installed", ["pip what", "make what"])
|
|
call health#report_start("report 2")
|
|
call health#report_info("stuff is stable")
|
|
call health#report_error("why no hardcopy", [":h :hardcopy", ":h :TOhtml"])
|
|
endfunction
|