summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-29 20:50:09 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-29 20:50:09 +0800
commit3a3041e820b5c6aa9088e642387ae5f7b99f2a64 (patch)
treebb0293ee37e395b50bc04919fa0d1877d71c6ff2 /test/crossfile
parent170f587b41b01911f49250b0acc011d00c4e4008 (diff)
downloadlua-language-server-3a3041e820b5c6aa9088e642387ae5f7b99f2a64.zip
#632
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/completion.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua
index 9c5ed96e..4e59096e 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -826,3 +826,15 @@ TEST {
},
completion = EXISTS
}
+
+TEST {
+ { path = 'a.lua', content = '' },
+ {
+ path = 'main.lua',
+ main = true,
+ content = [[
+ ---@module <??>
+ ]]
+ },
+ completion = EXISTS
+}