From ba2074f29446a6e45e3a2f7f1871e736404c5f12 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Thu, 11 Oct 2018 22:50:45 +0200 Subject: util.serialization: Test table keys that are Lua keywords --- spec/util_serialization_spec.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'spec') 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); -- cgit v1.2.3