diff options
Diffstat (limited to 'server/test/crossfile')
-rw-r--r-- | server/test/crossfile/completion.lua | 60 |
1 files changed, 30 insertions, 30 deletions
diff --git a/server/test/crossfile/completion.lua b/server/test/crossfile/completion.lua index ee57963f..8d1ff48d 100644 --- a/server/test/crossfile/completion.lua +++ b/server/test/crossfile/completion.lua @@ -162,6 +162,36 @@ TEST { } } +TEST { + { + path = 'abc.lua', + content = '', + }, + { + path = 'ABCD.lua', + content = '', + }, + { + path = 'test.lua', + content = 'require "a$"', + main = true, + }, + completion = { + { + label = 'ABCD', + kind = CompletionItemKind.Reference, + documentation = 'ABCD.lua', + textEdit = EXISTS, + }, + { + label = 'abc', + kind = CompletionItemKind.Reference, + documentation = 'abc.lua', + textEdit = EXISTS, + }, + } +} + else TEST { @@ -360,36 +390,6 @@ TEST { TEST { { - path = 'abc.lua', - content = '', - }, - { - path = 'ABCD.lua', - content = '', - }, - { - path = 'test.lua', - content = 'require "a$"', - main = true, - }, - completion = { - { - label = 'ABCD', - kind = CompletionItemKind.Reference, - documentation = 'ABCD.lua', - textEdit = EXISTS, - }, - { - label = 'abc', - kind = CompletionItemKind.Reference, - documentation = 'abc.lua', - textEdit = EXISTS, - }, - } -} - -TEST { - { path = 'a.lua', content = [[ return { |