Software /
code /
prosody
Comparison
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 |
comparison
equal
deleted
inserted
replaced
9177:83e7ad5818d3 | 9178:f226b7b5486b |
---|---|
39 end); | 39 end); |
40 end); | 40 end); |
41 | 41 |
42 describe("simple publishing", function () | 42 describe("simple publishing", function () |
43 local notified; | 43 local notified; |
44 local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) | 44 local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212 |
45 notified = subscribers; | 45 notified = subscribers; |
46 end); | 46 end); |
47 local service = pubsub.new({ | 47 local service = pubsub.new({ |
48 broadcaster = broadcaster; | 48 broadcaster = broadcaster; |
49 }); | 49 }); |