diff options
author | Matthew Wild <mwild1@gmail.com> | 2020-09-03 13:10:46 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2020-09-03 13:10:46 +0100 |
commit | e419f0b5f4fd61a6e0e2f96f497bb72ddddc1a98 (patch) | |
tree | f12e7f7fd38100826d62f0046ec7819eed4fc105 /spec/util_events_spec.lua | |
parent | a5775893f5aa7d107a08d2c8b797c492b605e630 (diff) | |
download | prosody-e419f0b5f4fd61a6e0e2f96f497bb72ddddc1a98.tar.gz prosody-e419f0b5f4fd61a6e0e2f96f497bb72ddddc1a98.zip |
util.event: Add luacheck annotation to unused parameter in tests
Diffstat (limited to 'spec/util_events_spec.lua')
-rw-r--r-- | spec/util_events_spec.lua | 2 |
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); |