summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-23 18:06:36 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-23 18:06:36 +0800
commitad72c1fdc4e8d1fb9afca2dbe10e3c425ead4786 (patch)
tree95591bfcb697392b0119471ec939f3dd3caaa903 /test/diagnostics/init.lua
parent3d854460b06ef79f00ba45c6702bcc828c6593d6 (diff)
downloadlua-language-server-ad72c1fdc4e8d1fb9afca2dbe10e3c425ead4786.zip
fix
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 0f15c1d6..be83ac96 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1146,3 +1146,10 @@ return {
['1'] = 1,
}
]]
+
+TEST [[
+return {
+ [print()] = 1,
+ [print()] = 1,
+}
+]]