summaryrefslogtreecommitdiff
path: root/test-beta/crossfile
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-11-19 17:12:49 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-11-19 17:12:49 +0800
commit59779a81ea496761270393d354743c04f925682f (patch)
tree30bff57b3ffb437773870bc3d9fbdc955d7c9ed0 /test-beta/crossfile
parent7841e0365ce44419114f10927ccdf34ef0f62604 (diff)
downloadlua-language-server-59779a81ea496761270393d354743c04f925682f.zip
优化
Diffstat (limited to 'test-beta/crossfile')
-rw-r--r--test-beta/crossfile/references.lua17
1 files changed, 17 insertions, 0 deletions
diff --git a/test-beta/crossfile/references.lua b/test-beta/crossfile/references.lua
index a0e34cfd..66abd4e3 100644
--- a/test-beta/crossfile/references.lua
+++ b/test-beta/crossfile/references.lua
@@ -394,3 +394,20 @@ TEST {
]]
},
}
+
+TEST {
+ {
+ path = 'a.lua',
+ content = [[
+ local <?t?> = require 'b'
+ return <!t!>
+ ]]
+ },
+ {
+ path = 'b.lua',
+ content = [[
+ local <!t!> = require 'a'
+ return <!t!>
+ ]]
+ },
+}