aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-12-29 01:11:55 +0100
committerKim Alvefur <zash@zash.se>2019-12-29 01:11:55 +0100
commit30d0c690a3eef472603c991a9e1d067c8a851f7d (patch)
tree992a3051a21164f734358a3929da7c6325eb47fa
parentd8c2888045cb5bd396bd17dc42fbaf2355688683 (diff)
downloadprosody-30d0c690a3eef472603c991a9e1d067c8a851f7d.tar.gz
prosody-30d0c690a3eef472603c991a9e1d067c8a851f7d.zip
util.pubsub: Ignore unused argument in tests [luacheck]
-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 23cdf2a0..f876089e 100644
--- a/spec/util_pubsub_spec.lua
+++ b/spec/util_pubsub_spec.lua
@@ -485,7 +485,7 @@ describe("util.pubsub", function ()
describe("subscriber filter", function ()
it("works", function ()
- local filter = spy.new(function (subs)
+ local filter = spy.new(function (subs) -- luacheck: ignore 212/subs
return {["modified"] = true};
end);
local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212