From 3a3041e820b5c6aa9088e642387ae5f7b99f2a64 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, 29 Sep 2021 20:50:09 +0800 Subject: #632 --- test/crossfile/completion.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'test') diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua index 9c5ed96e..4e59096e 100644 --- a/test/crossfile/completion.lua +++ b/test/crossfile/completion.lua @@ -826,3 +826,15 @@ TEST { }, completion = EXISTS } + +TEST { + { path = 'a.lua', content = '' }, + { + path = 'main.lua', + main = true, + content = [[ + ---@module + ]] + }, + completion = EXISTS +} -- cgit v1.2.3