mirror of
https://github.com/folke/lazy.nvim.git
synced 2025-04-18 20:36:45 +00:00
test: fix tests
This commit is contained in:
parent
0614ca6ca6
commit
bbe136bda6
3 changed files with 24 additions and 23 deletions
|
@ -32,7 +32,8 @@ describe("runner", function()
|
|||
package.loaded["lazy.manage.task.test"]["async" .. i] = {
|
||||
---@param task LazyTask
|
||||
run = function(task)
|
||||
task:schedule(function()
|
||||
task:async(function()
|
||||
coroutine.yield()
|
||||
table.insert(runs, { plugin = task.plugin.name, task = task.name })
|
||||
end)
|
||||
end,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue