diff options
Diffstat (limited to 'test/crossfile/hover.lua')
-rw-r--r-- | test/crossfile/hover.lua | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua index f00f6e35..2ceeb597 100644 --- a/test/crossfile/hover.lua +++ b/test/crossfile/hover.lua @@ -108,6 +108,42 @@ TEST { --- * [Folder\a.lua](file:///Folder/a.lua) (搜索路径: `Folder\?.lua`)]], } + +TEST { + { + path = 'Folder/a.lua', + content = '', + }, + { + path = 'b.lua', + content = 'require <?"Folder.a"?>', + }, + hover = [[ +```lua +8 个字节 +``` + +--- +* [Folder\a.lua](file:///Folder/a.lua) (搜索路径: `?.lua`)]], +} + +TEST { + { + path = 'Folder/a.lua', + content = '', + }, + { + path = 'b.lua', + content = 'require <?"Folder/a"?>', + }, + hover = [[ +```lua +8 个字节 +``` + +--- +* [Folder\a.lua](file:///Folder/a.lua) (搜索路径: `?.lua`)]], +} else TEST { { |