summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-29 21:02:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-29 21:02:24 +0800
commit3f62ee8a93c91473de9a7e1b1612d148f92699a1 (patch)
treed4cf8eedf75180ea0ed23730f67a0b3f55e4d218 /test/crossfile
parent3a3041e820b5c6aa9088e642387ae5f7b99f2a64 (diff)
downloadlua-language-server-3f62ee8a93c91473de9a7e1b1612d148f92699a1.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 4e59096e..ae843d3b 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -838,3 +838,15 @@ TEST {
},
completion = EXISTS
}
+
+TEST {
+ { path = 'abcde.lua', content = '' },
+ {
+ path = 'main.lua',
+ main = true,
+ content = [[
+ ---@module 'ab<??>'
+ ]]
+ },
+ completion = EXISTS
+}