summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-12-09 17:35:24 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-12-09 17:35:24 +0800
commita7f06f34a54dc65629869efe9fb3b4681e66d5cb (patch)
treec53f5d516b6aedab93c646a179b9c33013ee169e
parente5a2673afdc7345b2c5e914a9797d7198d2ccdfd (diff)
downloadlua-language-server-a7f06f34a54dc65629869efe9fb3b4681e66d5cb.zip
通过跨文件的hover测试
-rw-r--r--test-beta/crossfile/hover.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/test-beta/crossfile/hover.lua b/test-beta/crossfile/hover.lua
index 48bddbfc..ad2133b9 100644
--- a/test-beta/crossfile/hover.lua
+++ b/test-beta/crossfile/hover.lua
@@ -182,8 +182,7 @@ TEST {
hover = {
label = [[
global t: {
- [*table]: number = 1,
- [*table]: number = 2,
+ [table]: integer = 1|2,
}]],
name = 't',
},
@@ -207,7 +206,7 @@ TEST {
hover = {
label = [[
global t: {
- [*table]: number = 2,
+ [table]: integer = 2,
}]],
name = 't',
},