summaryrefslogtreecommitdiff
path: root/test/completion
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2023-01-16 21:06:06 +0800
committer最萌小汐 <sumneko@hotmail.com>2023-01-16 21:06:06 +0800
commit5aaecf51b9fccddf52ed3e4749757a03819fae61 (patch)
tree87ceb62c6eb926cb54d8ba794697f0d3ddd0b1e3 /test/completion
parenta6798e6adb81da6b7f833bc39da0a6368178a090 (diff)
downloadlua-language-server-5aaecf51b9fccddf52ed3e4749757a03819fae61.zip
support `---@meta [name]`
once declared `name`, user can only require this file by declared name meta file can not be required with name `_`
Diffstat (limited to 'test/completion')
-rw-r--r--test/completion/common.lua2
1 files changed, 1 insertions, 1 deletions
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 [[