summaryrefslogtreecommitdiff
path: root/server/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-03-15 14:07:14 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-03-15 14:07:14 +0800
commita4bff71503fcf5d5a1bff8dc3ce209050afea86c (patch)
tree06fe335cfdfc7dbb24f958d63fd9c99a06843704 /server/test/diagnostics/init.lua
parent8e9d309bf2a3b3e3f4530acb2cbaa3cdd6869cee (diff)
downloadlua-language-server-a4bff71503fcf5d5a1bff8dc3ce209050afea86c.zip
_G的处理
Diffstat (limited to 'server/test/diagnostics/init.lua')
-rw-r--r--server/test/diagnostics/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/test/diagnostics/init.lua b/server/test/diagnostics/init.lua
index 8c2f4dba..4af8f975 100644
--- a/server/test/diagnostics/init.lua
+++ b/server/test/diagnostics/init.lua
@@ -119,12 +119,12 @@ local _ENV
]]
TEST [[
-print(_G)
+print()
<!('string')!>:sub(1, 1)
]]
TEST [[
-print(_G)
+print()
('string')
]]