diff options
author | Kim Alvefur <zash@zash.se> | 2018-08-18 18:14:19 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-08-18 18:14:19 +0200 |
commit | d837d7bc6a5d5bd52b7750be33c352b81960fd24 (patch) | |
tree | 653df99ee31431280458c9a1dfcb881bae4ccff9 /spec/util_pubsub_spec.lua | |
parent | 3b4ea1f3e7f716920e327aaf0664ca2752023b63 (diff) | |
download | prosody-d837d7bc6a5d5bd52b7750be33c352b81960fd24.tar.gz prosody-d837d7bc6a5d5bd52b7750be33c352b81960fd24.zip |
util.pubsub tests: Fix whitespace
Diffstat (limited to 'spec/util_pubsub_spec.lua')
-rw-r--r-- | spec/util_pubsub_spec.lua | 4 |
1 files 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); |