summaryrefslogtreecommitdiff
path: root/server-beta/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-04 21:11:25 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-04 21:11:25 +0800
commit8f505a0b999d1432dfc107133e7ac2ba591cbed2 (patch)
tree2c8fa5d0f71232fa18811dcf1750a209f1502e06 /server-beta/test
parent6376ac1a2d98280304221243b00a1bc8cac74dc3 (diff)
downloadlua-language-server-8f505a0b999d1432dfc107133e7ac2ba591cbed2.zip
更新实现
Diffstat (limited to 'server-beta/test')
-rw-r--r--server-beta/test/diagnostics/init.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/server-beta/test/diagnostics/init.lua b/server-beta/test/diagnostics/init.lua
index b0438eb2..0c2b077f 100644
--- a/server-beta/test/diagnostics/init.lua
+++ b/server-beta/test/diagnostics/init.lua
@@ -143,6 +143,12 @@ local _ENV
]]
TEST [[
+local x
+return x, function (<!x!>)
+end
+]]
+
+TEST [[
print(1)
_ENV = nil
]]