summaryrefslogtreecommitdiff
path: root/test/diagnostics/init.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-07-05 18:02:55 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-07-05 18:02:55 +0800
commit84b85c156fcdfe6925b9608044c21aa2a0075e67 (patch)
tree8c7ecad59cee8e7ac619445137639b3cb1d7ef5f /test/diagnostics/init.lua
parent366e5f9a2083bf12802cb237b1eaa2efac47f2a4 (diff)
downloadlua-language-server-84b85c156fcdfe6925b9608044c21aa2a0075e67.zip
fix error
Diffstat (limited to 'test/diagnostics/init.lua')
-rw-r--r--test/diagnostics/init.lua5
1 files changed, 5 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 29e80c7b..d9069b9b 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1153,3 +1153,8 @@ return {
[print()] = 1,
}
]]
+
+TEST [[
+---@type { x: number, y: number}
+---| "'resume'"
+]]