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 4e59096e..ae843d3b 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -838,3 +838,15 @@ TEST {
},
completion = EXISTS
}
+
+TEST {
+ { path = 'abcde.lua', content = '' },
+ {
+ path = 'main.lua',
+ main = true,
+ content = [[
+ ---@module 'ab<??>'
+ ]]
+ },
+ completion = EXISTS
+}