aboutsummaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-11 22:50:45 +0200
committerKim Alvefur <zash@zash.se>2018-10-11 22:50:45 +0200
commited924fa0b136ba943f4f8f1f7dfb367bdc5e677d (patch)
tree3bd431993019e794cbe776f613c02a97e5938927 /spec
parentd48f36ce3837a9744205b41684d75ac0b7110f91 (diff)
downloadprosody-ed924fa0b136ba943f4f8f1f7dfb367bdc5e677d.tar.gz
prosody-ed924fa0b136ba943f4f8f1f7dfb367bdc5e677d.zip
util.serialization: Test table keys that are Lua keywords
Diffstat (limited to 'spec')
-rw-r--r--spec/util_serialization_spec.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/util_serialization_spec.lua b/spec/util_serialization_spec.lua
index 8783e636..52075bc2 100644
--- a/spec/util_serialization_spec.lua
+++ b/spec/util_serialization_spec.lua
@@ -42,6 +42,7 @@ describe("util.serialization", function ()
test("nödåtgärd");
test({1,2,3,4});
test({foo={[100]={{"bar"},{baz=1}}}});
+ test({["goto"] = {["function"]={["do"]="keywords"}}});
end);
end);
end);