summaryrefslogtreecommitdiff
path: root/test/diagnostics
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-12-01 16:59:20 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-12-01 16:59:20 +0800
commitdbfde868deadc55e0ae756ba012f8cd50a87e364 (patch)
tree76d0be0b8d2d953f5b0679bddf873dc1b2cc20c3 /test/diagnostics
parent75352f3809bfb34056c682e057d301a1f8b38309 (diff)
downloadlua-language-server-dbfde868deadc55e0ae756ba012f8cd50a87e364.zip
fix #825
Diffstat (limited to 'test/diagnostics')
-rw-r--r--test/diagnostics/init.lua8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/diagnostics/init.lua b/test/diagnostics/init.lua
index 4bf7e81d..1bbd83b9 100644
--- a/test/diagnostics/init.lua
+++ b/test/diagnostics/init.lua
@@ -1514,3 +1514,11 @@ return {
x = 1,
}
]]
+
+TEST [[
+---@class A #1
+]]
+
+TEST [[
+---@class A 1
+]]