Changeset

9178:f226b7b5486b

util.pubsub: Silence warnings in tests [luacheck] Warnings introduced in c53663e13b51 according to bisect
author Kim Alvefur <zash@zash.se>
date Thu, 16 Aug 2018 06:05:11 +0200
parents 9177:83e7ad5818d3
children 9179:82fad995a149
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	Sun Aug 12 23:52:39 2018 +0200
+++ b/spec/util_pubsub_spec.lua	Thu Aug 16 06:05:11 2018 +0200
@@ -41,7 +41,7 @@
 
 	describe("simple publishing", function ()
 		local notified;
-		local broadcaster = spy.new(function (notif_type, node_name, subscribers, item)
+		local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212
 			notified = subscribers;
 		end);
 		local service = pubsub.new({