diff options
author | sumneko <sumneko@hotmail.com> | 2019-04-22 16:23:46 +0800 |
---|---|---|
committer | sumneko <sumneko@hotmail.com> | 2019-04-22 16:23:46 +0800 |
commit | 2523bad318880bf7547f5d095fce4a681fe24a54 (patch) | |
tree | c455011faec35182915adb2ab7b2a02b7dfb8461 /server/test/crossfile/definition.lua | |
parent | efa8bfce8228bc615e2870cbc4394bef0ab3cb9d (diff) | |
download | lua-language-server-2523bad318880bf7547f5d095fce4a681fe24a54.zip |
更新emmy
Diffstat (limited to 'server/test/crossfile/definition.lua')
-rw-r--r-- | server/test/crossfile/definition.lua | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/server/test/crossfile/definition.lua b/server/test/crossfile/definition.lua index ee62345a..4e3a00ef 100644 --- a/server/test/crossfile/definition.lua +++ b/server/test/crossfile/definition.lua @@ -275,3 +275,37 @@ TEST { ]], }, } + +TEST { + { + path = 'a.lua', + content = [[ + ---@class Class + local <!obj!> + ]] + }, + { + path = 'b.lua', + content = [[ + ---@type Class + local <?obj?> + ]] + }, +} + +TEST { + { + path = 'a.lua', + content = [[ + ---@type Class + local <?obj?> + ]] + }, + { + path = 'b.lua', + content = [[ + ---@class Class + local <!obj!> + ]] + }, +} |