summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-23 16:31:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-23 16:31:09 +0800
commit5eb82d50202af355ecb5ce3edccb5ac77a4a6e85 (patch)
treec200b4c4bd65cb1dcd2c4a9945325e4eb4a6ffa6 /test/diagnostics/init.lua
parentac1bddb7ca2f3b497085b06f310280f7d7ec0fb3 (diff)
downloadlua-language-server-5eb82d50202af355ecb5ce3edccb5ac77a4a6e85.zip
fix #558
Diffstat (limited to 'test/diagnostics/init.lua')
-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,
+}
+]]