summaryrefslogtreecommitdiff
path: root/test/signature
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-09-29 20:04:17 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-09-29 20:04:17 +0800
commit170f587b41b01911f49250b0acc011d00c4e4008 (patch)
treecaa0b10ae66ce97f41997c2219a8015617291457 /test/signature
parent1721f5c185547b8074060a95f526f2f4b630969b (diff)
downloadlua-language-server-170f587b41b01911f49250b0acc011d00c4e4008.zip
hover: shows method
Diffstat (limited to 'test/signature')
-rw-r--r--test/signature/init.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/signature/init.lua b/test/signature/init.lua
index f1057ae0..1dbe61e8 100644
--- a/test/signature/init.lua
+++ b/test/signature/init.lua
@@ -64,7 +64,7 @@ end
mt:f(<??>
]]
-'function mt:f(<!a: any!>)'
+'method mt:f(<!a: any!>)'
TEST [[
local function x(a, b)
@@ -87,7 +87,7 @@ x(1, 2, 3, <??>
TEST [[
(''):sub(<??>
]]
-'function string:sub(<!i: integer!>, j?: integer)'
+'method string:sub(<!i: integer!>, j?: integer)'
TEST [[
(''):sub(1)<??>