diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-10-10 16:03:28 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-10-10 16:03:28 +0800 |
commit | c80ebc80ec68909cb890cccba05ba5fded59b645 (patch) | |
tree | 3687a0438d81b2aebb013557798b773076e922fa /server-beta/test/definition | |
parent | 63f8fe059b3b429baf0e10969a259beecaddbaad (diff) | |
download | lua-language-server-c80ebc80ec68909cb890cccba05ba5fded59b645.zip |
支持_G
Diffstat (limited to 'server-beta/test/definition')
-rw-r--r-- | server-beta/test/definition/set.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/server-beta/test/definition/set.lua b/server-beta/test/definition/set.lua index ccb44438..b1d9dc70 100644 --- a/server-beta/test/definition/set.lua +++ b/server-beta/test/definition/set.lua @@ -44,12 +44,12 @@ _ENV.<!x!> = 1 print(<?x?>) ]] ---TEST [[ ---<!_G.x!> = 1 ---print(<?x?>) ---]] --- ---TEST [[ ---<!rawset(_G, 'x', 1)!> ---print(<?x?>) ---]] +TEST [[ +_G.<!x!> = 1 +print(<?x?>) +]] + +TEST [[ +<!rawset(_G, 'x', 1)!> +print(<?x?>) +]] |