aboutsummaryrefslogtreecommitdiffstats
path: root/spec/util_serialization_spec.lua
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
commitba2074f29446a6e45e3a2f7f1871e736404c5f12 (patch)
tree3bd431993019e794cbe776f613c02a97e5938927 /spec/util_serialization_spec.lua
parent9f101c6ca3f02670ae87acd9fe62cd7021ddd597 (diff)
downloadprosody-ba2074f29446a6e45e3a2f7f1871e736404c5f12.tar.gz
prosody-ba2074f29446a6e45e3a2f7f1871e736404c5f12.zip
util.serialization: Test table keys that are Lua keywords
Diffstat (limited to 'spec/util_serialization_spec.lua')
-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);