aboutsummaryrefslogtreecommitdiff
path: root/test/functional/fixtures/lua/test_plug/submodule_failed/health.lua
blob: 3a8af6ebb2b927436d4fc81a4107b7c8db549fe4 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
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")
  local a = nil + 2
  return a
end

return M