summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-11-30 10:40:38 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-11-30 10:40:38 +0800
commit2b24d57a2f7b0437a1d92e81ada51171c8f8fe3d (patch)
tree9cf8fc29896d227969639097ce895e5ed4fed7a7 /server/test
parentabd2a22ef2fc4197aab1cdf0ccae386b55db3dcc (diff)
downloadlua-language-server-2b24d57a2f7b0437a1d92e81ada51171c8f8fe3d.zip
表里的值
Diffstat (limited to 'server/test')
-rw-r--r--server/test/definition/init.lua2
-rw-r--r--server/test/definition/table.lua7
2 files changed, 8 insertions, 1 deletions
diff --git a/server/test/definition/init.lua b/server/test/definition/init.lua
index 17c23b0e..1de41c57 100644
--- a/server/test/definition/init.lua
+++ b/server/test/definition/init.lua
@@ -29,5 +29,5 @@ require 'definition.set'
require 'definition.local'
require 'definition.arg'
require 'definition.function'
---require 'definition.table'
+require 'definition.table'
require 'definition.bug'
diff --git a/server/test/definition/table.lua b/server/test/definition/table.lua
index 63fbb99e..04700f17 100644
--- a/server/test/definition/table.lua
+++ b/server/test/definition/table.lua
@@ -1,4 +1,11 @@
TEST [[
+local <!t!>
+a = {
+ <?t?>
+}
+]]
+
+TEST [[
local t
t.<!x!> = 1
t.<?x?> = 1