From 5aaecf51b9fccddf52ed3e4749757a03819fae61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9C=80=E8=90=8C=E5=B0=8F=E6=B1=90?= Date: Mon, 16 Jan 2023 21:06:06 +0800 Subject: support `---@meta [name]` once declared `name`, user can only require this file by declared name meta file can not be required with name `_` --- test/completion/common.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test/completion') diff --git a/test/completion/common.lua b/test/completion/common.lua index 7e4aac61..e0668ea3 100644 --- a/test/completion/common.lua +++ b/test/completion/common.lua @@ -3538,7 +3538,7 @@ TEST [[ require '' ]] (function (results) - assert(#results == 11, require 'utility'.dump(results)) + assert(#results == 9, require 'utility'.dump(results)) end) TEST [[ -- cgit v1.2.3