diff options
Diffstat (limited to 'spec/util_encodings_spec.lua')
-rw-r--r-- | spec/util_encodings_spec.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/util_encodings_spec.lua b/spec/util_encodings_spec.lua index 018b8553..0f4fc2b7 100644 --- a/spec/util_encodings_spec.lua +++ b/spec/util_encodings_spec.lua @@ -14,6 +14,7 @@ describe("util.encodings", function () describe("#decode()", function() it("should work", function () assert.is.equal(encodings.base64.decode(""), ""); + assert.is.equal(encodings.base64.decode("="), ""); assert.is.equal(encodings.base64.decode('Y291Y291'), "coucou"); assert.is.equal(encodings.base64.decode("AAAA"), "\0\0\0"); assert.is.equal(encodings.base64.decode("////"), "\255\255\255"); |