summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/completion.lua13
1 files changed, 13 insertions, 0 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua
index ae843d3b..455f0600 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -850,3 +850,16 @@ TEST {
},
completion = EXISTS
}
+
+config.prop('Lua.runtime.special', 'import', 'require')
+TEST {
+ { path = 'abcde.lua', content = '' },
+ {
+ path = 'main.lua',
+ main = true,
+ content = [[
+ import 'ab<??>'
+ ]]
+ },
+ completion = EXISTS
+}