util.pubsub: Ignore unused argument in tests [luacheck]
authorKim Alvefur <zash@zash.se>
Sun, 29 Dec 2019 01:11:55 +0100
changeset 10577 3b8431eed785
parent 10576 d960c703e6b3
child 10578 f70c874b7936
util.pubsub: Ignore unused argument in tests [luacheck]
spec/util_pubsub_spec.lua
--- a/spec/util_pubsub_spec.lua	Thu Dec 26 01:52:14 2019 +0100
+++ b/spec/util_pubsub_spec.lua	Sun Dec 29 01:11:55 2019 +0100
@@ -485,7 +485,7 @@
 
 	describe("subscriber filter", function ()
 		it("works", function ()
-			local filter = spy.new(function (subs)
+			local filter = spy.new(function (subs) -- luacheck: ignore 212/subs
 				return {["modified"] = true};
 			end);
 			local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212