util.event: Add luacheck annotation to unused parameter in tests

This commit is contained in:
Matthew Wild 2020-09-03 13:10:46 +01:00
parent a5775893f5
commit e419f0b5f4

View file

@ -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);