diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-29 21:09:23 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-29 21:09:23 +0800 |
commit | f04887db153e16055d67d8a2febb5c3db8fc43c0 (patch) | |
tree | 8a3a2a83c839594d1d62cc1315121785d38f7a1f /test/crossfile | |
parent | 3f62ee8a93c91473de9a7e1b1612d148f92699a1 (diff) | |
download | lua-language-server-f04887db153e16055d67d8a2febb5c3db8fc43c0.zip |
#632
Diffstat (limited to 'test/crossfile')
-rw-r--r-- | test/crossfile/hover.lua | 13 |
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 { { |