From 5a1a7eba965aa447d32f2c3be054bcbbdca0388b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Thu, 27 Dec 2018 15:47:13 +0800 Subject: =?UTF-8?q?=E5=87=BD=E6=95=B0=E5=8F=82=E6=95=B0=E8=87=AA=E5=8A=A8?= =?UTF-8?q?=E5=AE=8C=E6=88=90=E6=97=B6=E8=BF=87=E6=BB=A4lib?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/test/completion/init.lua | 24 +++++++++++++++--------- 1 file changed, 15 insertions(+), 9 deletions(-) (limited to 'server/test/completion') 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, + } +} -- cgit v1.2.3