summaryrefslogtreecommitdiff
path: root/test/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-06-23 16:15:13 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-06-23 16:15:13 +0800
commit366d163edf1373ca4f7c56ef44b77b818d9ee4f8 (patch)
tree768aef8f9a8c2f6c8dc046a019dd43a9a3d1e299 /test/crossfile
parent1e7e9eba031eadfb5045a7fec01ee8519a967be6 (diff)
downloadlua-language-server-366d163edf1373ca4f7c56ef44b77b818d9ee4f8.zip
fix #567
Diffstat (limited to 'test/crossfile')
-rw-r--r--test/crossfile/definition.lua15
1 files changed, 15 insertions, 0 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index 467e6af5..d1b613cc 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -771,3 +771,18 @@ TEST {
},
}
config.config.runtime.path = originRuntimePath
+
+TEST {
+ {
+ path = 'a.lua',
+ content = [[
+ a = b.x
+ ]],
+ },
+ {
+ path = 'b.lua',
+ content = [[
+ b = a.<?x?>
+ ]],
+ },
+}