# HG changeset patch # User Kim Alvefur # Date 1509720216 -3600 # Node ID 09a1ce618ad04e9a76e25bda87f023849db10fd1 # Parent 2fba23c341d6f3ddacfd0f6f218cb73d4ca7c519 spec/util.encodings: Fix syntax diff -r 2fba23c341d6 -r 09a1ce618ad0 spec/util_encodings_spec.lua --- 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);