From e4599d0c05868e54ae57a709c360e48e91532dd5 Mon Sep 17 00:00:00 2001 From: sumneko Date: Mon, 20 May 2019 16:11:43 +0800 Subject: =?UTF-8?q?=E8=BF=99=E4=B8=AA=E6=B5=8B=E8=AF=95=E5=8F=AA=E8=83=BD?= =?UTF-8?q?=E5=9C=A8windows=E5=B9=B3=E5=8F=B0=E9=87=8C=E8=B7=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/crossfile/completion.lua | 60 ++++++++++++++++++------------------ 1 file changed, 30 insertions(+), 30 deletions(-) (limited to 'server/test/crossfile') 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 { @@ -358,36 +388,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', -- cgit v1.2.3