summaryrefslogtreecommitdiff
path: root/test/crossfile/hover.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/hover.lua')
-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 {
{