Changeset

9209:69e17edf8796

util.pubsub tests: Fix whitespace
author Kim Alvefur <zash@zash.se>
date Sat, 18 Aug 2018 18:14:19 +0200
parents 9208:d3bb59ec0173
children 9210:68e96dd437bb
files spec/util_pubsub_spec.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);