diff options
author | Kim Alvefur <zash@zash.se> | 2018-10-11 22:50:45 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2018-10-11 22:50:45 +0200 |
commit | a796f87cc399939d436046c12c7bc5e634bf7bcc (patch) | |
tree | 3bd431993019e794cbe776f613c02a97e5938927 /spec/util_serialization_spec.lua | |
parent | 69f91fa214e6fc7743039c61f2aeed23b376d684 (diff) | |
download | prosody-a796f87cc399939d436046c12c7bc5e634bf7bcc.tar.gz prosody-a796f87cc399939d436046c12c7bc5e634bf7bcc.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.lua | 1 |
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); |