diff options
Diffstat (limited to 'server/test/completion/init.lua')
-rw-r--r-- | server/test/completion/init.lua | 24 |
1 files changed, 15 insertions, 9 deletions
diff --git a/server/test/completion/init.lua b/server/test/completion/init.lua index 27b373e6..98c91acf 100644 --- a/server/test/completion/init.lua +++ b/server/test/completion/init.lua @@ -403,12 +403,18 @@ io.read(@) }, } ---TEST [[ ---list[#@] ---]] ---{ --- { --- label = 'list+1', --- kind = CompletionItemKind.Snippet, --- } ---} +TEST [[ +local function f(a, @) +end +]] +(nil) + +TEST [[ +list[#@] +]] +{ + { + label = 'list+1', + kind = CompletionItemKind.Snippet, + } +} |