summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2022-04-07 03:24:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2022-04-07 03:24:05 +0800
commitd45984a61c94447c7c55ff5efffa9209c0b98d7c (patch)
treec2ec5780bad0b4bf506ab50c7ff6d28ec35a8b6d /test/crossfile
parent84441873f6b0e4a75ee9b9d96d88c5609c7a48dc (diff)
downloadlua-language-server-d45984a61c94447c7c55ff5efffa9209c0b98d7c.zip
update
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/completion.lua2
-rw-r--r--test/crossfile/hover.lua2
-rw-r--r--test/crossfile/references.lua1
3 files changed, 3 insertions, 2 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua
index c271f598..79762646 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -837,7 +837,7 @@ TEST {
kind = CompletionItemKind.Variable,
description = [[
```lua
-local z: {}
+local z: table
```]]
},
}
diff --git a/test/crossfile/hover.lua b/test/crossfile/hover.lua
index b0cc8c7d..4461e775 100644
--- a/test/crossfile/hover.lua
+++ b/test/crossfile/hover.lua
@@ -280,7 +280,7 @@ TEST {
hover = [[
```lua
global t: {
- [1]: integer = 1|2,
+ [1]: integer = 2,
}
```]],
}
diff --git a/test/crossfile/references.lua b/test/crossfile/references.lua
index 9e55c77a..5ab6a18f 100644
--- a/test/crossfile/references.lua
+++ b/test/crossfile/references.lua
@@ -1,3 +1,4 @@
+---@diagnostic disable: await-in-sync
local files = require 'files'
local furi = require 'file-uri'
local core = require 'core.reference'