mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
test: fixes
This commit is contained in:
parent
bd397ff1e3
commit
77edda11bf
2 changed files with 27 additions and 15 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue