test: fixes

This commit is contained in:
Folke Lemaitre 2024-06-24 19:55:09 +02:00
parent bd397ff1e3
commit 77edda11bf
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
2 changed files with 27 additions and 15 deletions

View file

@ -102,7 +102,7 @@ describe("task", function()
task:start()
assert(task:is_running())
task:wait()
assert(task.output == "foo\nbar\n" or task.output == "bar\nfoo\n")
assert(task.output == "foo\nbar\n" or task.output == "bar\nfoo\n", task.output)
assert(done)
assert(not task.error)
end)