aboutsummaryrefslogtreecommitdiffstats
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
commit3081a87880dfc7299f9e18de69403e2dff9e83cb (patch)
treef0f03eebc47180b53561de32123727a53a799059
parentb5894221305f192e7eba1e8667455eb70c640c6e (diff)
downloadprosody-3081a87880dfc7299f9e18de69403e2dff9e83cb.tar.gz
prosody-3081a87880dfc7299f9e18de69403e2dff9e83cb.zip
util.pubsub: Silence warnings in tests [luacheck]
Warnings introduced in c53663e13b51 according to bisect
-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({