mirror of
https://github.com/bjc/prosody.git
synced 2025-04-01 20:27:39 +03:00
util.event: Add luacheck annotation to unused parameter in tests
This commit is contained in:
parent
a5775893f5
commit
e419f0b5f4
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue