diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2019-01-23 16:06:34 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2019-01-23 16:06:34 +0800 |
commit | cbcb02406fc0f317af5bd575515e9881e4bd5a25 (patch) | |
tree | 9f720cdd3329b88f8c639794180fb5be7700002d /server/test/crossfile/definition.lua | |
parent | 5540352b5a3f71ff2e1830a77b34b220078f02ca (diff) | |
download | lua-language-server-cbcb02406fc0f317af5bd575515e9881e4bd5a25.zip |
怎么少了一个测试
Diffstat (limited to 'server/test/crossfile/definition.lua')
-rw-r--r-- | server/test/crossfile/definition.lua | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/server/test/crossfile/definition.lua b/server/test/crossfile/definition.lua index d34d6868..6ff0cf32 100644 --- a/server/test/crossfile/definition.lua +++ b/server/test/crossfile/definition.lua @@ -197,3 +197,18 @@ TEST { ]], } } + +TEST { + { + path = 'b.lua', + content = [[ + print(<?global?>) + ]], + }, + { + path = 'a.lua', + content = [[ + <!global!> = 1 + ]], + }, +} |