summaryrefslogtreecommitdiff
path: root/server/test/crossfile
diff options
context:
space:
mode:
Diffstat (limited to 'server/test/crossfile')
-rw-r--r--server/test/crossfile/completion.lua18
1 files changed, 18 insertions, 0 deletions
diff --git a/server/test/crossfile/completion.lua b/server/test/crossfile/completion.lua
index b93e6ba8..eaa5ef00 100644
--- a/server/test/crossfile/completion.lua
+++ b/server/test/crossfile/completion.lua
@@ -409,3 +409,21 @@ TEST {
},
}
}
+
+TEST {
+ {
+ path = 'a.lua',
+ content = [[
+ local japi = require 'jass.japi'
+ japi.xxxaaaaxxxx
+ ]]
+ },
+ {
+ path = 'a.lua',
+ content = [[
+ local japi = require 'jass.japi'
+ japi.xxxaaaax@
+ ]],
+ main = true,
+ },
+}