summaryrefslogtreecommitdiff
path: root/test/crossfile/completion.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/completion.lua
parentd7daade3a3b8f4a5e33bca3df7ec0656d93684c2 (diff)
downloadlua-language-server-1d0a33637635a4f5a9a614c4bb0de17202c2d375.zip
改成使用自己的 file-uri
Diffstat (limited to 'test/crossfile/completion.lua')
-rw-r--r--test/crossfile/completion.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/crossfile/completion.lua b/test/crossfile/completion.lua
index cb9f2f65..ab017716 100644
--- a/test/crossfile/completion.lua
+++ b/test/crossfile/completion.lua
@@ -72,7 +72,7 @@ function TEST(data)
local mainBuf
local pos
for _, info in ipairs(data) do
- local uri = uric.encode(fs.path(info.path))
+ local uri = uric.encode(ROOT / fs.path(info.path))
local script = info.content
if info.main then
pos = script:find('$', 1, true) - 1