summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-29 21:09:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-29 21:09:23 +0800
commitf04887db153e16055d67d8a2febb5c3db8fc43c0 (patch)
tree8a3a2a83c839594d1d62cc1315121785d38f7a1f /test/crossfile
parent3f62ee8a93c91473de9a7e1b1612d148f92699a1 (diff)
downloadlua-language-server-f04887db153e16055d67d8a2febb5c3db8fc43c0.zip
#632
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/hover.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua
index d341fa29..13e5e5c0 100644
--- a/test/crossfile/hover.lua
+++ b/test/crossfile/hover.lua
@@ -74,6 +74,19 @@ TEST {
* [a.lua](file:///a.lua) (搜索路径: `?.lua`)]],
}
+TEST {
+ {
+ path = 'a.lua',
+ content = '',
+ },
+ {
+ path = 'b.lua',
+ content = '---@module "<?a?>"',
+ },
+ hover = [[
+* [a.lua](file:///a.lua) (搜索路径: `?.lua`)]],
+}
+
if require 'bee.platform'.OS == 'Windows' then
TEST {
{