summaryrefslogtreecommitdiff
path: root/server/test/definition
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/definition
parent8e9d309bf2a3b3e3f4530acb2cbaa3cdd6869cee (diff)
downloadlua-language-server-a4bff71503fcf5d5a1bff8dc3ce209050afea86c.zip
_G的处理
Diffstat (limited to 'server/test/definition')
-rw-r--r--server/test/definition/set.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/server/test/definition/set.lua b/server/test/definition/set.lua
index 82dc4828..eb899fc9 100644
--- a/server/test/definition/set.lua
+++ b/server/test/definition/set.lua
@@ -38,3 +38,8 @@ else
end
print(<?x?>)
]]
+
+TEST [[
+_G.<!x!> = 1
+print(<?x?>)
+]]