summaryrefslogtreecommitdiff
path: root/server/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2018-12-28 15:20:59 +0800
committer最萌小汐 <sumneko@hotmail.com>2018-12-28 15:20:59 +0800
commit549f6dd7ce8c733f9b51f5e93b3f14c1e2a44aca (patch)
treec4b2acb22a25eaaa2c62f1d445e45caad058a9a8 /server/test/crossfile
parent1f6dc773d1af5bab029e5c1864360c3f40b06874 (diff)
downloadlua-language-server-549f6dd7ce8c733f9b51f5e93b3f14c1e2a44aca.zip
不嵌套的大纲
Diffstat (limited to 'server/test/crossfile')
-rw-r--r--server/test/crossfile/hover.lua5
1 files changed, 4 insertions, 1 deletions
diff --git a/server/test/crossfile/hover.lua b/server/test/crossfile/hover.lua
index 51ac85bd..32fd7580 100644
--- a/server/test/crossfile/hover.lua
+++ b/server/test/crossfile/hover.lua
@@ -113,6 +113,7 @@ TEST {
},
hover = {
label = 'function f(a: any, b: any)',
+ name = 'f',
}
}
@@ -133,6 +134,7 @@ TEST {
},
hover = {
label = 'function (a: any, b: any)',
+ name = '',
}
}
@@ -160,6 +162,7 @@ TEST {
]]
},
hover = {
- label = 'function mt:add(a: any, b: any)'
+ label = 'function mt:add(a: any, b: any)',
+ name = 'mt:add',
},
}