# HG changeset patch # User Kim Alvefur # Date 1539291045 -7200 # Node ID 8791bfa3984a96da079dd2d79729d6e9b45c99d1 # Parent f34c635c5f426f84a37dfe2aec1f5375c6061d66 util.serialization: Test table keys that are Lua keywords diff -r f34c635c5f42 -r 8791bfa3984a spec/util_serialization_spec.lua --- 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);