Changeset

11060:19dd9522f107

util.event: Add luacheck annotation to unused parameter in tests
author Matthew Wild <mwild1@gmail.com>
date Thu, 03 Sep 2020 13:10:46 +0100
parents 11059:ad89e3cc67b6
children 11062:dd3b1b9d867d
files spec/util_events_spec.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/spec/util_events_spec.lua	Thu Sep 03 13:00:43 2020 +0100
+++ b/spec/util_events_spec.lua	Thu Sep 03 13:10:46 2020 +0100
@@ -211,7 +211,7 @@
 
 		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);