summaryrefslogtreecommitdiff
path: root/test-beta/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-09-29 14:53:56 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-09-29 14:53:56 +0800
commit88ff3f4ae07311d4aed9c15df723c50da948f24f (patch)
treee5e16423a97496676a4b56fc157f21e9885cc306 /test-beta/diagnostics/init.lua
parent049eaa1446d8b53cef14ec3a72f315f162ead2bc (diff)
downloadlua-language-server-88ff3f4ae07311d4aed9c15df723c50da948f24f.zip
暂存
Diffstat (limited to 'test-beta/diagnostics/init.lua')
-rw-r--r--test-beta/diagnostics/init.lua9
1 files changed, 9 insertions, 0 deletions
diff --git a/test-beta/diagnostics/init.lua b/test-beta/diagnostics/init.lua
index c33d4f0a..8f1bb2c6 100644
--- a/test-beta/diagnostics/init.lua
+++ b/test-beta/diagnostics/init.lua
@@ -560,6 +560,15 @@ local <!t!> = {}
<!t!>[1] = 1
]]
+TEST [[
+T1 = 1
+_ENV.T2 = 2
+_G.T3 = 2
+print(T1)
+print(T2)
+print(T3)
+]]
+
--TEST [[
-----@class <!Class!>
-----@class <!Class!>