aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-08-16 06:05:11 +0200
committerKim Alvefur <zash@zash.se>2018-08-16 06:05:11 +0200
commit16f48337f31a4edfade237a5f6efe08e6a2ec887 (patch)
treef0f03eebc47180b53561de32123727a53a799059 /spec
parent18157ec5f8d6e5963d34f50b27b0864de983e776 (diff)
downloadprosody-16f48337f31a4edfade237a5f6efe08e6a2ec887.tar.gz
prosody-16f48337f31a4edfade237a5f6efe08e6a2ec887.zip
util.pubsub: Silence warnings in tests [luacheck]
Warnings introduced in c53663e13b51 according to bisect
Diffstat (limited to 'spec')
-rw-r--r--spec/util_pubsub_spec.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/util_pubsub_spec.lua b/spec/util_pubsub_spec.lua
index 0ba5e079..5e4f5ee7 100644
--- a/spec/util_pubsub_spec.lua
+++ b/spec/util_pubsub_spec.lua
@@ -41,7 +41,7 @@ describe("util.pubsub", function ()
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({