summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-11 16:06:27 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-11 16:06:27 +0800
commite794ff1c24a6171b9817ee063d48745174814092 (patch)
treeeaa3545ba62084857a22989e32f4761e2d89feb9 /test
parent63910e66117d7989fc6a129bbb9e1ca23d6c19e2 (diff)
downloadlua-language-server-e794ff1c24a6171b9817ee063d48745174814092.zip
close #292 rename doc
Diffstat (limited to 'test')
-rw-r--r--test/rename/init.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/rename/init.lua b/test/rename/init.lua
index 5ca0ca15..88f83269 100644
--- a/test/rename/init.lua
+++ b/test/rename/init.lua
@@ -164,16 +164,14 @@ function a:b() end
a:b()
]]
--- TODO
-do return end
TEST ('class1', 'class2') [[
----@class1
+---@class class1
---@type class1
---@param x class1
]] [[
----@class2
+---@class class2
---@type class2
@@ -197,9 +195,11 @@ TEST ('alias1', 'alias2') [[
TEST ('arg1', 'arg2') [[
---@param arg1 number
function f(arg1)
+ print(arg1)
end
]] [[
---@param arg2 number
function f(arg2)
+ print(arg2)
end
]]