diff options
author | Kim Alvefur <zash@zash.se> | 2019-12-29 01:11:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2019-12-29 01:11:55 +0100 |
commit | 8f217cae73c46075eac6947ec6d71a56d555f790 (patch) | |
tree | 992a3051a21164f734358a3929da7c6325eb47fa /spec/util_pubsub_spec.lua | |
parent | 1cfa9cb2f5565b2ff8196068b5a433d889b38cf0 (diff) | |
download | prosody-8f217cae73c46075eac6947ec6d71a56d555f790.tar.gz prosody-8f217cae73c46075eac6947ec6d71a56d555f790.zip |
util.pubsub: Ignore unused argument in tests [luacheck]
Diffstat (limited to 'spec/util_pubsub_spec.lua')
-rw-r--r-- | spec/util_pubsub_spec.lua | 2 |
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 |