aboutsummaryrefslogtreecommitdiffstats
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
commite419f0b5f4fd61a6e0e2f96f497bb72ddddc1a98 (patch)
treef12e7f7fd38100826d62f0046ec7819eed4fc105
parenta5775893f5aa7d107a08d2c8b797c492b605e630 (diff)
downloadprosody-e419f0b5f4fd61a6e0e2f96f497bb72ddddc1a98.tar.gz
prosody-e419f0b5f4fd61a6e0e2f96f497bb72ddddc1a98.zip
util.event: Add luacheck annotation to unused parameter in tests
-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);