From 9e291a9656a1ca50f5f5d736ba4ce1d8515eca90 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Sat, 18 Aug 2018 18:14:19 +0200 Subject: util.pubsub tests: Fix whitespace --- spec/util_pubsub_spec.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/util_pubsub_spec.lua b/spec/util_pubsub_spec.lua index 11dfeb0b..3f463ef2 100644 --- a/spec/util_pubsub_spec.lua +++ b/spec/util_pubsub_spec.lua @@ -270,7 +270,7 @@ describe("util.pubsub", function () end); it("should allow subscribers to publish without an affiliation", function () assert.is_true(service:add_subscription("test", "stranger", "stranger")); - local ok = service:publish("test", "stranger", "item1", "foo"); + local ok = service:publish("test", "stranger", "item1", "foo"); assert.is_true(ok); end); it("should allow publishers to publish without a subscription", function () @@ -320,7 +320,7 @@ describe("util.pubsub", function () local ok, items = service:get_items("test", true); assert.is_true(ok); assert.equal(0, #items); - assert.is_nil(next(items)); + assert.is_nil(next(items)); end); it("returns no items on an empty node", function () local ok, items = service:get_items("test", true); -- cgit v1.2.3