aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2020-09-03 13:10:46 +0100
committerMatthew Wild <mwild1@gmail.com>2020-09-03 13:10:46 +0100
commitde7565e382abe025e4987a4b77c78da794b57226 (patch)
treef12e7f7fd38100826d62f0046ec7819eed4fc105 /spec
parent5392d207d4b1a0c07245ebdc0ba749edfe5762bb (diff)
downloadprosody-de7565e382abe025e4987a4b77c78da794b57226.tar.gz
prosody-de7565e382abe025e4987a4b77c78da794b57226.zip
util.event: Add luacheck annotation to unused parameter in tests
Diffstat (limited to 'spec')
-rw-r--r--spec/util_events_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_events_spec.lua b/spec/util_events_spec.lua
index 95303cce..fcfa6e53 100644
--- a/spec/util_events_spec.lua
+++ b/spec/util_events_spec.lua
@@ -211,7 +211,7 @@ describe("util.events", function ()
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);