diff options
author | 最萌小汐 <sumneko@hotmail.com> | 2021-04-06 15:00:23 +0800 |
---|---|---|
committer | 最萌小汐 <sumneko@hotmail.com> | 2021-04-06 15:00:23 +0800 |
commit | bd1196c1b2f6c0722deb765359e5a0702c31644c (patch) | |
tree | 09785ad6500fd969c49a418ac9d9c2cf12ebf6b3 /test | |
parent | 73b5e9eb4d6eb08792b36c9a6b89e9fc69497d7c (diff) | |
download | lua-language-server-bd1196c1b2f6c0722deb765359e5a0702c31644c.zip |
fix #488
Diffstat (limited to 'test')
-rw-r--r-- | test/completion/init.lua | 11 |
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) |