From 25d3e051095ff1f1b7da58e591b2455a25d19328 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Wed, 2 Mar 2022 16:34:55 +0800 Subject: improve completion --- test/completion/common.lua | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'test/completion') diff --git a/test/completion/common.lua b/test/completion/common.lua index 818d0ac5..787549f7 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -3079,3 +3079,12 @@ TEST [[ if ]] (EXISTS) + +TEST [[ +local t = x[] +]] +(function (results) + for _, res in ipairs(results) do + assert(res.label ~= 'do') + end +end) -- cgit v1.2.3