summaryrefslogtreecommitdiff
path: root/test/crossfile/references.lua
diff options
context:
space:
mode:
Diffstat (limited to 'test/crossfile/references.lua')
-rw-r--r--test/crossfile/references.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/crossfile/references.lua b/test/crossfile/references.lua
index faa9dba9..36c08170 100644
--- a/test/crossfile/references.lua
+++ b/test/crossfile/references.lua
@@ -58,7 +58,7 @@ function TEST(datas)
local sourceList
local sourceUri
for i, data in ipairs(datas) do
- local uri = furi.encode(data.path)
+ local uri = furi.encode(TESTROOT .. data.path)
local newScript, catched = catch(data.content, '!?~')
if catched['!'] or catched['~'] then
for _, position in ipairs(catched['!'] + catched['~']) do
@@ -79,7 +79,7 @@ function TEST(datas)
local _ <close> = function ()
for _, info in ipairs(datas) do
- files.remove(furi.encode(info.path))
+ files.remove(furi.encode(TESTROOT .. info.path))
end
end