summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-04-06 15:00:23 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-04-06 15:00:23 +0800
commitbd1196c1b2f6c0722deb765359e5a0702c31644c (patch)
tree09785ad6500fd969c49a418ac9d9c2cf12ebf6b3 /test
parent73b5e9eb4d6eb08792b36c9a6b89e9fc69497d7c (diff)
downloadlua-language-server-bd1196c1b2f6c0722deb765359e5a0702c31644c.zip
fix #488
Diffstat (limited to 'test')
-rw-r--r--test/completion/init.lua11
1 files changed, 11 insertions, 0 deletions
diff --git a/test/completion/init.lua b/test/completion/init.lua
index c648d379..b07fda90 100644
--- a/test/completion/init.lua
+++ b/test/completion/init.lua
@@ -2513,3 +2513,14 @@ local t = {
$
]]
(EXISTS)
+
+TEST [[
+---@class A
+---@field a '"hello"'|'"world"'
+
+---@param t A
+function api(t) end
+
+api({$})
+]]
+(EXISTS)