summaryrefslogtreecommitdiff
path: root/test/crossfile/definition.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2021-05-18 20:59:16 +0800
committer最萌小汐 <sumneko@hotmail.com>2021-05-18 20:59:16 +0800
commit4f1f6d4dbc7940b5f117e25b3528712ff4b221ef (patch)
tree49f932fc61e1ccd0621a19652d557b79bd576351 /test/crossfile/definition.lua
parent82190ca9d352030ba86081f58517d9e6afe43b00 (diff)
downloadlua-language-server-4f1f6d4dbc7940b5f117e25b3528712ff4b221ef.zip
fix
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r--test/crossfile/definition.lua12
1 files changed, 12 insertions, 0 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index fb0e872d..467e6af5 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -121,6 +121,18 @@ TEST {
TEST {
{
+ path = '@bbb.lua',
+ content = '',
+ target = {0, 0},
+ },
+ {
+ path = 'b.lua',
+ content = 'require "<?@bbb?>"',
+ },
+}
+
+TEST {
+ {
path = 'aaa/bbb.lua',
content = '',
target = {0, 0},