summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
authorsumneko <sumneko@hotmail.com>2019-04-09 13:29:57 +0800
committersumneko <sumneko@hotmail.com>2019-04-09 13:29:57 +0800
commit96647a35c6977909df5d6c5f7e77d0a4a2dbe2c0 (patch)
tree535909151e4f4efc950df6506728e7660f96acb3 /server/test
parent3ea2eca2553e34a637fbae1be3ec4413026a9a7b (diff)
downloadlua-language-server-96647a35c6977909df5d6c5f7e77d0a4a2dbe2c0.zip
支持rawset和rawget
Diffstat (limited to 'server/test')
-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 eb899fc9..54df1e7a 100644
--- a/server/test/definition/set.lua
+++ b/server/test/definition/set.lua
@@ -43,3 +43,8 @@ TEST [[
_G.<!x!> = 1
print(<?x?>)
]]
+
+TEST [[
+rawset<!(_G, 'x', 1)!>
+print(<?x?>)
+]]