Changeset

10573:3b8431eed785

util.pubsub: Ignore unused argument in tests [luacheck]
author Kim Alvefur <zash@zash.se>
date Sun, 29 Dec 2019 01:11:55 +0100
parents 10572:d960c703e6b3
children 10574:f70c874b7936
files spec/util_pubsub_spec.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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