summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-19 14:41:18 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-19 14:41:18 +0800
commitb2e8f04b3509caf5df2f41fa0858ef92df3700fc (patch)
tree219f5d3223cd18e8ce11aa45f7539f4eebe07075 /test/diagnostics/init.lua
parent81a3ad79e4f057d5670689e27823acf8391ce621 (diff)
downloadlua-language-server-b2e8f04b3509caf5df2f41fa0858ef92df3700fc.zip
update
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua5
1 files changed, 3 insertions, 2 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index d4bffdb5..0f5880ae 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -79,7 +79,8 @@ local <!x!>
]]
TEST [[
-local x <close> = print
+local y
+local x <close> = y
]]
TEST [[
@@ -135,11 +136,11 @@ end
)
TEST [[
+local print, _G
print(<!x!>)
print(<!log!>)
print(<!X!>)
print(<!Log!>)
-print(_VERSION)
print(<!y!>)
print(Z)
print(_G)