# HG changeset patch # User Kim Alvefur # Date 1534608859 -7200 # Node ID 69e17edf87962bd4bd699a4d01501781e35e8168 # Parent d3bb59ec0173ddf17a3892917204114ccdfbb692 util.pubsub tests: Fix whitespace diff -r d3bb59ec0173 -r 69e17edf8796 spec/util_pubsub_spec.lua --- a/spec/util_pubsub_spec.lua Sat Aug 18 15:28:08 2018 +0100 +++ b/spec/util_pubsub_spec.lua Sat Aug 18 18:14:19 2018 +0200 @@ -270,7 +270,7 @@ 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 @@ 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);