summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
Diffstat (limited to 'test')
-rw-r--r--test/crossfile/completion.lua12
1 files changed, 12 insertions, 0 deletions
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
+}