summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/diagnostics/init.lua7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 84c62c5a..0f15c1d6 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1139,3 +1139,10 @@ TEST [[
local t = ().
return t
]]
+
+TEST [[
+return {
+ [1] = 1,
+ ['1'] = 1,
+}
+]]