Software /
code /
prosody
Comparison
spec/util_pubsub_spec.lua @ 10573:3b8431eed785
util.pubsub: Ignore unused argument in tests [luacheck]
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 29 Dec 2019 01:11:55 +0100 |
parent | 10572:d960c703e6b3 |
child | 11721:7a77f0c05382 |
comparison
equal
deleted
inserted
replaced
10572:d960c703e6b3 | 10573:3b8431eed785 |
---|---|
483 | 483 |
484 end); | 484 end); |
485 | 485 |
486 describe("subscriber filter", function () | 486 describe("subscriber filter", function () |
487 it("works", function () | 487 it("works", function () |
488 local filter = spy.new(function (subs) | 488 local filter = spy.new(function (subs) -- luacheck: ignore 212/subs |
489 return {["modified"] = true}; | 489 return {["modified"] = true}; |
490 end); | 490 end); |
491 local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212 | 491 local broadcaster = spy.new(function (notif_type, node_name, subscribers, item) -- luacheck: ignore 212 |
492 end); | 492 end); |
493 local service = pubsub.new({ | 493 local service = pubsub.new({ |