summaryrefslogtreecommitdiff
path: root/server/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-01-23 14:38:45 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-01-23 14:38:45 +0800
commitea19d0e46ea4828531ad481f6018d334cd0b5999 (patch)
tree642e5d2835e7319692106414b95298d1c25cf7b5 /server/test
parentf41b764aa1b6ff6708da9ce84468839635e6720c (diff)
downloadlua-language-server-ea19d0e46ea4828531ad481f6018d334cd0b5999.zip
支持全局变量了
Diffstat (limited to 'server/test')
-rw-r--r--server/test/crossfile/definition.lua28
1 files changed, 14 insertions, 14 deletions
diff --git a/server/test/crossfile/definition.lua b/server/test/crossfile/definition.lua
index 3fdd1854..d34d6868 100644
--- a/server/test/crossfile/definition.lua
+++ b/server/test/crossfile/definition.lua
@@ -183,17 +183,17 @@ TEST {
}
}
---TEST {
--- {
--- path = 'a.lua',
--- content = [[
--- <!global!> = 1
--- ]],
--- },
--- {
--- path = 'b.lua',
--- content = [[
--- print(<?global?>)
--- ]],
--- }
---}
+TEST {
+ {
+ path = 'a.lua',
+ content = [[
+ <!global!> = 1
+ ]],
+ },
+ {
+ path = 'b.lua',
+ content = [[
+ print(<?global?>)
+ ]],
+ }
+}