summaryrefslogtreecommitdiff
path: root/server/test/completion
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/completion')
-rw-r--r--server/test/completion/init.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua
index 0f4b27d3..2b79aa4d 100644
--- a/server/test/completion/init.lua
+++ b/server/test/completion/init.lua
@@ -824,3 +824,18 @@ local abcd
kind = CompletionItemKind.Class,
},
}
+
+TEST [[
+---@alias abc abb
+---@type a$
+]]
+{
+ {
+ label = 'abc',
+ kind = CompletionItemKind.Class,
+ },
+ {
+ label = 'abb',
+ kind = CompletionItemKind.Class,
+ },
+}