summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-24 18:08:01 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-24 18:08:01 +0800
commit7cb37a0ef7f9cb9ec429cd29e770b7bc6e72a2aa (patch)
treecbf3fc8e3783ddb02446473a6d8f007d9d915f26 /test
parent5dae895f67bf0f75278d25b0d412e00705386fce (diff)
downloadlua-language-server-7cb37a0ef7f9cb9ec429cd29e770b7bc6e72a2aa.zip
improve memory usage
Diffstat (limited to 'test')
-rw-r--r--test/hover/init.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/hover/init.lua b/test/hover/init.lua
index 26064b5f..ff33944b 100644
--- a/test/hover/init.lua
+++ b/test/hover/init.lua
@@ -614,7 +614,7 @@ end
local <?r?> = a(1)
]]
[[
-local r: string = "a"
+local r: string
]]
TEST[[
@@ -624,7 +624,7 @@ end
local _, <?r?> = pcall(a, 1)
]]
[[
-local r: string = "a"
+local r: string
]]
TEST[[
@@ -1049,7 +1049,7 @@ end
local <?r?> = f(1)
]]
[[
-local r: integer = 1
+local r: integer
]]
TEST [[