diff options
Diffstat (limited to 'test/crossfile/diagnostic.lua')
-rw-r--r-- | test/crossfile/diagnostic.lua | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/test/crossfile/diagnostic.lua b/test/crossfile/diagnostic.lua index 9bdce197..ab2c3e41 100644 --- a/test/crossfile/diagnostic.lua +++ b/test/crossfile/diagnostic.lua @@ -31,8 +31,6 @@ end ---@diagnostic disable: await-in-sync function TEST(datas) - files.removeAll() - local targetList = {} for _, data in ipairs(datas) do local uri = furi.encode(data.path) @@ -48,6 +46,13 @@ function TEST(datas) files.setText(uri, newScript) end + local _ <close> = function () + for _, info in ipairs(datas) do + files.remove(furi.encode(info.path)) + end + end + + local result = {} for _, data in ipairs(datas) do local uri = furi.encode(data.path) |