summaryrefslogtreecommitdiff
path: root/server
diff options
context:
space:
mode:
authorunknown <sumnekosun@intranet.123u.com>2019-04-01 17:10:26 +0800
committerunknown <sumnekosun@intranet.123u.com>2019-04-01 17:10:26 +0800
commit623c09ab4e17052861595f00999f5a27543fc908 (patch)
treed363495507a9e94c1139fcbe051a6057f3161f1e /server
parent383418952e9946618c16720af70d1097a6092d0b (diff)
downloadlua-language-server-623c09ab4e17052861595f00999f5a27543fc908.zip
通过测试
Diffstat (limited to 'server')
-rw-r--r--server/test/crossfile/completion.lua20
1 files changed, 10 insertions, 10 deletions
diff --git a/server/test/crossfile/completion.lua b/server/test/crossfile/completion.lua
index 16d1460f..fab2e81e 100644
--- a/server/test/crossfile/completion.lua
+++ b/server/test/crossfile/completion.lua
@@ -147,19 +147,19 @@ TEST {
completion = {
{
label = 'abc',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'abc.lua',
textEdit = EXISTS,
},
{
label = 'abc.aaa',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'abc/aaa.lua',
textEdit = EXISTS,
},
{
label = 'abcde',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'xxx/abcde.lua',
textEdit = EXISTS,
},
@@ -179,7 +179,7 @@ TEST {
completion = {
{
label = 'abc',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'abc.lua',
textEdit = EXISTS,
},
@@ -203,7 +203,7 @@ TEST {
completion = {
{
label = 'abc.init',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'abc/init.lua',
textEdit = EXISTS,
},
@@ -227,7 +227,7 @@ TEST {
completion = {
{
label = 'abc.init',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'abc/init.lua',
textEdit = EXISTS,
},
@@ -251,7 +251,7 @@ TEST {
completion = {
{
label = 'abc.init',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'abc/init.lua',
textEdit = EXISTS,
},
@@ -275,7 +275,7 @@ TEST {
completion = {
{
label = 'core.core',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'core/core.lua',
textEdit = EXISTS,
},
@@ -299,13 +299,13 @@ TEST {
completion = {
{
label = 'x000',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'x000.lua',
textEdit = EXISTS,
},
{
label = 'x111',
- kind = CompletionItemKind.File,
+ kind = CompletionItemKind.Reference,
documentation = 'abc/x111.lua',
textEdit = EXISTS,
},