diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-29 21:17:15 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-29 21:17:15 +0800 |
commit | e44142d13914bc98a4f9af0029cfadbc16e222a4 (patch) | |
tree | 4c8aadc744e0a3ecc4be059a8e431870379c401f /test/crossfile/definition.lua | |
parent | f04887db153e16055d67d8a2febb5c3db8fc43c0 (diff) | |
download | lua-language-server-e44142d13914bc98a4f9af0029cfadbc16e222a4.zip |
resolve #632 `---@module 'moduleName'`
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r-- | test/crossfile/definition.lua | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua index 01bf0202..37c10db6 100644 --- a/test/crossfile/definition.lua +++ b/test/crossfile/definition.lua @@ -128,6 +128,20 @@ TEST { }, } +TEST { + { + path = 'a.lua', + content = 'local <!t!> = 1; return <!t!>', + }, + { + path = 'b.lua', + content = [[ +---@module 'a' +local <~t~> +]], + }, +} + --if require 'bee.platform'.OS == 'Windows' then --TEST { -- { |