summaryrefslogtreecommitdiff
path: root/server-beta/test/rename
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2019-11-22 11:44:05 +0800
committer最萌小汐 <sumneko@hotmail.com>2019-11-22 11:44:05 +0800
commitc29bbc645b931aa6fb6bff6b0e3da432eedd8ecd (patch)
tree6b6e526708591ceb6009095205614c044c0e0504 /server-beta/test/rename
parent82a58888b1951b37351e07ee9b2ae888732d26c0 (diff)
downloadlua-language-server-c29bbc645b931aa6fb6bff6b0e3da432eedd8ecd.zip
更新 rename
Diffstat (limited to 'server-beta/test/rename')
-rw-r--r--server-beta/test/rename/init.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/server-beta/test/rename/init.lua b/server-beta/test/rename/init.lua
index 8e672e69..a1595d9a 100644
--- a/server-beta/test/rename/init.lua
+++ b/server-beta/test/rename/init.lua
@@ -147,3 +147,19 @@ function a() end
]] [[
_ENV["!!!"] = function () end
]]
+
+TEST ('a', 'a.b') [[
+function a() end
+a()
+]] [[
+function a.b() end
+a.b()
+]]
+
+TEST ('a', 'a:b') [[
+function a() end
+a()
+]] [[
+function a:b() end
+a:b()
+]]