summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
authoruhziel <uhziel@gmail.com>2020-12-14 11:10:03 +0800
committeruhziel <uhziel@gmail.com>2020-12-14 11:10:03 +0800
commitf05b8a9b522989e83f28ce0511d5468d7300b40d (patch)
tree56b515671335acb8fc63709529deda255497a47c /test/diagnostics
parentcbacf3202f6162073aad1433ef0197b7b16f79bc (diff)
parent035f4393ab98b0de30650af94375d9c5e2fe07c1 (diff)
downloadlua-language-server-f05b8a9b522989e83f28ce0511d5468d7300b40d.zip
合并 master 中的提交
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 35342dcf..3f3c563c 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -824,6 +824,10 @@ TEST [[
local t
]]
+TEST [[
+local _ <close> = function () end
+]]
+
-- checkUndefinedField 通用
TEST [[
---@class Foo