diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-08-20 10:29:54 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-08-20 10:29:54 +0800 |
commit | e13158e0ad2412358fa186a7292460a4a0602e1f (patch) | |
tree | f4f6d70c1962febd71923c4f29a5a922105d9926 /test | |
parent | 666d25e294d41d7ec7450ff34e5cc3eb1463d3da (diff) | |
download | lua-language-server-e13158e0ad2412358fa186a7292460a4a0602e1f.zip |
fix
Diffstat (limited to 'test')
-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 e9a70199..927cad3c 100644 --- a/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua @@ -786,3 +786,15 @@ TEST { }, completion = EXISTS, } + +TEST { + { path = 'a.lua', content = '' }, + { + path = 'main.lua', + main = true, + content = [[ + require'$ + ]] + }, + completion = EXISTS +} |