diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-09-29 20:50:09 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-09-29 20:50:09 +0800 |
commit | 3a3041e820b5c6aa9088e642387ae5f7b99f2a64 (patch) | |
tree | bb0293ee37e395b50bc04919fa0d1877d71c6ff2 /test/crossfile | |
parent | 170f587b41b01911f49250b0acc011d00c4e4008 (diff) | |
download | lua-language-server-3a3041e820b5c6aa9088e642387ae5f7b99f2a64.zip |
#632
Diffstat (limited to 'test/crossfile')
-rw-r--r-- | test/crossfile/completion.lua | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua index 9c5ed96e..4e59096e 100644 --- a/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua @@ -826,3 +826,15 @@ TEST { }, completion = EXISTS } + +TEST { + { path = 'a.lua', content = '' }, + { + path = 'main.lua', + main = true, + content = [[ + ---@module <??> + ]] + }, + completion = EXISTS +} |