aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_encodings_spec.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2017-11-03 15:43:36 +0100
committerKim Alvefur <zash@zash.se>2017-11-03 15:43:36 +0100
commit6fafcad90dd898498651ef4a46d18949843f61cb (patch)
tree779c948182213c0aafa8779227f323e2426477c2 /spec/util_encodings_spec.lua
parent56ff6b04ee606cbed3062b3061f20617c395164b (diff)
downloadprosody-6fafcad90dd898498651ef4a46d18949843f61cb.tar.gz
prosody-6fafcad90dd898498651ef4a46d18949843f61cb.zip
spec/util.encodings: Fix syntax
Diffstat (limited to 'spec/util_encodings_spec.lua')
-rw-r--r--spec/util_encodings_spec.lua4
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);