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 updated = table.create(100, 0)
|
||||||
|
|
||||||
local elements = indexes(items, function(item)
|
indexes(items, function(item)
|
||||||
effect(function()
|
effect(function()
|
||||||
item()
|
item()
|
||||||
updated[1] += 1
|
updated[1] += 1
|
||||||
|
|
@ -1184,6 +1184,8 @@ TEST("indexes()", wrap_root(function()
|
||||||
item()
|
item()
|
||||||
updated[2] += 1
|
updated[2] += 1
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
return {}
|
||||||
end)
|
end)
|
||||||
|
|
||||||
effect(function()
|
effect(function()
|
||||||
|
|
|
||||||
1
todo.md
1
todo.md
|
|
@ -13,3 +13,4 @@
|
||||||
- define behavior of deriving a source within a derived source
|
- define behavior of deriving a source within a derived source
|
||||||
- review destruction of node under a root that has a child in another root
|
- review destruction of node under a root that has a child in another root
|
||||||
- check in strict mode for forgetting to call constructor `create(class)`
|
- check in strict mode for forgetting to call constructor `create(class)`
|
||||||
|
- improve crash course, some sections feel like information dumps
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue