summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-12-14 10:13:10 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-12-14 10:13:10 +0800
commit035f4393ab98b0de30650af94375d9c5e2fe07c1 (patch)
tree053c36dcf75ddbbfe48b221988e23774ac3bbd49 /test/diagnostics
parent585306c685fd7801103902da734da87dfbfc5f34 (diff)
downloadlua-language-server-035f4393ab98b0de30650af94375d9c5e2fe07c1.zip
close function
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/init.lua4
1 files changed, 4 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index c05a29ae..5ff74dc6 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -823,3 +823,7 @@ TEST [[
---@class class
local t
]]
+
+TEST [[
+local _ <close> = function () end
+]]