summaryrefslogtreecommitdiff
path: root/test-beta
diff options
context:
space:
mode:
Diffstat (limited to 'test-beta')
-rw-r--r--test-beta/crossfile/completion.lua13
-rw-r--r--test-beta/crossfile/hover.lua2
2 files changed, 11 insertions, 4 deletions
diff --git a/test-beta/crossfile/completion.lua b/test-beta/crossfile/completion.lua
index 8ac3ac48..b20f652c 100644
--- a/test-beta/crossfile/completion.lua
+++ b/test-beta/crossfile/completion.lua
@@ -126,21 +126,28 @@ TEST {
},
completion = {
{
+ label = 'aaa',
+ kind = CompletionItemKind.Reference,
+ textEdit = EXISTS,
+ },
+ {
label = 'abc',
kind = CompletionItemKind.Reference,
- documentation = 'abc.lua',
textEdit = EXISTS,
},
{
label = 'abc.aaa',
kind = CompletionItemKind.Reference,
- documentation = 'abc/aaa.lua',
textEdit = EXISTS,
},
{
label = 'abcde',
kind = CompletionItemKind.Reference,
- documentation = 'xxx/abcde.lua',
+ textEdit = EXISTS,
+ },
+ {
+ label = 'xxx.abcde',
+ kind = CompletionItemKind.Reference,
textEdit = EXISTS,
},
}
diff --git a/test-beta/crossfile/hover.lua b/test-beta/crossfile/hover.lua
index b7881618..d73aeb7f 100644
--- a/test-beta/crossfile/hover.lua
+++ b/test-beta/crossfile/hover.lua
@@ -85,7 +85,7 @@ TEST {
},
hover = {
label = '1 个字节',
- description = [[[a.lua](file:///a.lua)]],
+ description = [[* [a.lua](file:///a.lua)]],
}
}