mirror of https://github.com/folke/lazy.nvim.git
test: fixed tests
This commit is contained in:
parent
b2673f1057
commit
588caef4e9
|
@ -102,7 +102,7 @@ describe("task", function()
|
||||||
task:start()
|
task:start()
|
||||||
assert(task:is_running())
|
assert(task:is_running())
|
||||||
task:wait()
|
task:wait()
|
||||||
assert.same(task.output, "foo\nbar\n")
|
assert(task.output == "foo\nbar\n" or task.output == "bar\nfoo\n")
|
||||||
assert(done)
|
assert(done)
|
||||||
assert(not task.error)
|
assert(not task.error)
|
||||||
end)
|
end)
|
||||||
|
|
Loading…
Reference in New Issue