Mercurial > prosody-hg
diff spec/util_events_spec.lua @ 11060:19dd9522f107
util.event: Add luacheck annotation to unused parameter in tests
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 03 Sep 2020 13:10:46 +0100 |
| parents | c99afee1c548 |
| children |
line wrap: on
line diff
--- a/spec/util_events_spec.lua Thu Sep 03 13:00:43 2020 +0100 +++ b/spec/util_events_spec.lua Thu Sep 03 13:10:46 2020 +0100 @@ -211,7 +211,7 @@ describe("debug hooks", function () it("should get called", function () - local d = spy.new(function (handler, event_name, event_data) + local d = spy.new(function (handler, event_name, event_data) --luacheck: ignore 212/event_name return handler(event_data); end);
