Changeset

8371:09a1ce618ad0

spec/util.encodings: Fix syntax
author Kim Alvefur <zash@zash.se>
date Fri, 03 Nov 2017 15:43:36 +0100
parents 8370:2fba23c341d6
children 8372:872efae6e222
files spec/util_encodings_spec.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/spec/util_encodings_spec.lua	Fri Nov 03 15:40:52 2017 +0100
+++ b/spec/util_encodings_spec.lua	Fri Nov 03 15:43:36 2017 +0100
@@ -6,14 +6,14 @@
 	describe("#encode()", function()
 		it("should work", function ()
 			assert.is.equal(encodings.base64.encode(""), "");
-			assert.is.equal(encodings.base64.encode('coucou') "Y291Y291");
+			assert.is.equal(encodings.base64.encode('coucou'), "Y291Y291");
 			assert.is.equal(encodings.base64.encode("\0\0\0"), "AAAA");
 		end);
 	end);
 	describe("#decode()", function()
 		it("should work", function ()
 			assert.is.equal(encodings.base64.decode(""), "");
-			assert.is.equal(encodings.base64.decode('Y291Y291') "coucou");
+			assert.is.equal(encodings.base64.decode('Y291Y291'), "coucou");
 			assert.is.equal(encodings.base64.decode("AAAA"), "\0\0\0");
 		end);
 	end);