mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Fix test type error
This commit is contained in:
parent
299ebfc0ac
commit
d8a627c58a
2 changed files with 4 additions and 1 deletions
|
|
@ -1174,7 +1174,7 @@ TEST("indexes()", wrap_root(function()
|
|||
|
||||
local updated = table.create(100, 0)
|
||||
|
||||
local elements = indexes(items, function(item)
|
||||
indexes(items, function(item)
|
||||
effect(function()
|
||||
item()
|
||||
updated[1] += 1
|
||||
|
|
@ -1184,6 +1184,8 @@ TEST("indexes()", wrap_root(function()
|
|||
item()
|
||||
updated[2] += 1
|
||||
end)
|
||||
|
||||
return {}
|
||||
end)
|
||||
|
||||
effect(function()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue