diff options
Diffstat (limited to 'spec/util_encodings_spec.lua')
-rw-r--r-- | spec/util_encodings_spec.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/util_encodings_spec.lua b/spec/util_encodings_spec.lua index c973e811..584fb4e6 100644 --- a/spec/util_encodings_spec.lua +++ b/spec/util_encodings_spec.lua @@ -6,14 +6,14 @@ describe("util.encodings", function () 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); |