summaryrefslogtreecommitdiff
path: root/test-beta/crossfile/hover.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-04 14:12:02 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-04 14:12:02 +0800
commit2584309c9bb6de817ab1f785945a02bfe98b3e45 (patch)
tree1ae8d8911c29110590ed0b92275aca300f45e1c5 /test-beta/crossfile/hover.lua
parentf35ed0a44400f422822aeb882784592db5a48633 (diff)
downloadlua-language-server-2584309c9bb6de817ab1f785945a02bfe98b3e45.zip
过大部分测试
Diffstat (limited to 'test-beta/crossfile/hover.lua')
-rw-r--r--test-beta/crossfile/hover.lua9
1 files changed, 4 insertions, 5 deletions
diff --git a/test-beta/crossfile/hover.lua b/test-beta/crossfile/hover.lua
index 3400de08..8cd5eada 100644
--- a/test-beta/crossfile/hover.lua
+++ b/test-beta/crossfile/hover.lua
@@ -253,8 +253,6 @@ local t: {
},
}
--- 先屏蔽掉 emmy
-do return end
TEST {
{
path = 'a.lua',
@@ -271,7 +269,7 @@ TEST {
hover = {
label = [[function f(x: number)]],
name = 'f',
- description = 'abc',
+ description = ' abc',
args = EXISTS,
}
}
@@ -289,12 +287,13 @@ TEST {
]],
},
hover = {
- label = [[global x: number = 1]],
+ label = [[global x: integer = 1]],
name = 'x',
- description = 'abc',
+ description = ' abc',
}
}
+do return end
TEST {
{
path = 'a.lua',