From 1cb6288aa6f5fe4c79d96bdf82890b637a068784 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 6 Jan 2022 20:54:30 +0800 Subject: fix test --- test/crossfile/completion.lua | 74 +++++++++++++++++++++---------------------- 1 file changed, 37 insertions(+), 37 deletions(-) (limited to 'test') diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua index ea28ebb2..c271f598 100644 --- a/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua @@ -154,27 +154,27 @@ TEST { completion = { { label = 'aaa', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'abc', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'abc.aaa', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'abcde', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'xxx.abcde', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -193,7 +193,7 @@ TEST { completion = { { label = 'abc', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -216,12 +216,12 @@ TEST { completion = { { label = 'ABCD', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'abc', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -244,12 +244,12 @@ TEST { completion = { { label = 'abc', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'abc.init', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -272,17 +272,17 @@ TEST { completion = { { label = 'abc', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'abc.bbc', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'abc.init', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -305,7 +305,7 @@ TEST { completion = { { label = 'abc.init', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -330,7 +330,7 @@ TEST { completion = { { label = 'abc/init', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -354,7 +354,7 @@ TEST { completion = { { label = 'core.core', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -377,17 +377,17 @@ TEST { completion = { { label = 'abc.x111', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'x000', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'x111', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -412,12 +412,12 @@ TEST { completion = { { label = 'D:.xxxx', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'xxxx', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -443,7 +443,7 @@ TEST { completion = { { label = 'xxxx', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -586,22 +586,22 @@ TEST { completion = { { label = 'a', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'b', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'f.a', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'f.b', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -620,12 +620,12 @@ TEST { completion = { { label = 'a', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'f.a', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -646,12 +646,12 @@ TEST { completion = { { label = 'f.a', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, { label = 'f.b', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -670,7 +670,7 @@ TEST { completion = { { label = 'f.a', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -693,7 +693,7 @@ TEST { completion = { { label = 'xxx', - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -714,7 +714,7 @@ TEST { completion = { { label = [[xx'xx]], - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -735,7 +735,7 @@ TEST { completion = { { label = [[xx]=]xx]], - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -756,8 +756,8 @@ TEST { }, completion = { { - label = [[abc\init.lua]], - kind = CompletionItemKind.Reference, + label = [[abc/init.lua]], + kind = CompletionItemKind.File, textEdit = EXISTS, }, } @@ -778,7 +778,7 @@ TEST { completion = { { label = [[abc/init.lua]], - kind = CompletionItemKind.Reference, + kind = CompletionItemKind.File, textEdit = EXISTS, }, } -- cgit v1.2.3