Software /
code /
prosody
Diff
spec/util_serialization_spec.lua @ 9482:8791bfa3984a
util.serialization: Test table keys that are Lua keywords
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Thu, 11 Oct 2018 22:50:45 +0200 |
parent | 9481:f34c635c5f42 |
child | 9485:c667887d78ad |
line wrap: on
line diff
--- a/spec/util_serialization_spec.lua Thu Oct 11 22:48:08 2018 +0200 +++ b/spec/util_serialization_spec.lua Thu Oct 11 22:50:45 2018 +0200 @@ -42,6 +42,7 @@ test("nödåtgärd"); test({1,2,3,4}); test({foo={[100]={{"bar"},{baz=1}}}}); + test({["goto"] = {["function"]={["do"]="keywords"}}}); end); end); end);