equal
deleted
inserted
replaced
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({ |