Software /
code /
prosody
Diff
spec/util_pubsub_spec.lua @ 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 |
parent | 9176:1068f9b82e2b |
child | 9206:33ee40dc3e25 |
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({