summaryrefslogtreecommitdiff
path: root/test/crossfile/definition.lua
diff options
context:
space:
mode:
author最萌小汐 <sumneko@hotmail.com>2020-05-13 17:09:50 +0800
committer最萌小汐 <sumneko@hotmail.com>2020-05-13 17:10:26 +0800
commit1d0a33637635a4f5a9a614c4bb0de17202c2d375 (patch)
tree828b2932ffc68f06c1f73921e9c62a3220e93b03 /test/crossfile/definition.lua
parentd7daade3a3b8f4a5e33bca3df7ec0656d93684c2 (diff)
downloadlua-language-server-1d0a33637635a4f5a9a614c4bb0de17202c2d375.zip
改成使用自己的 file-uri
Diffstat (limited to 'test/crossfile/definition.lua')
-rw-r--r--test/crossfile/definition.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/crossfile/definition.lua b/test/crossfile/definition.lua
index c765d98a..02209609 100644
--- a/test/crossfile/definition.lua
+++ b/test/crossfile/definition.lua
@@ -52,7 +52,7 @@ function TEST(datas)
local sourceList, sourceUri
for i, data in ipairs(datas) do
- local uri = uric.encode(fs.path(data.path))
+ local uri = uric.encode(ROOT / fs.path(data.path))
local new, list = catch_target(data.content, '!')
if new ~= data.content or data.target then
if data.target then