aboutsummaryrefslogtreecommitdiffstats
path: root/spec
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
commit546aedf27ac9f331f9391ed2d59a178d73e380e5 (patch)
tree779c948182213c0aafa8779227f323e2426477c2 /spec
parentf6775e1e2c3e297300cf27e809cbbcbb236c0689 (diff)
downloadprosody-546aedf27ac9f331f9391ed2d59a178d73e380e5.tar.gz
prosody-546aedf27ac9f331f9391ed2d59a178d73e380e5.zip
spec/util.encodings: Fix syntax
Diffstat (limited to 'spec')
-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);