diff options
Diffstat (limited to 'test')
-rw-r--r-- | test/crossfile/completion.lua | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua index 3abc1de4..84d31544 100644 --- a/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua @@ -767,3 +767,20 @@ function (a: any, b: any) Cared['detail'] = nil Cared['additionalTextEdits'] = nil end + +TEST { + { + path = 'a.lua', + content = [[ + A.B = 1 + ]] + }, + { + path = 'main.lua', + main = true, + content = [[ + A.$ + ]], + }, + completion = EXISTS, +} |