Fix test type error

This commit is contained in:
Aaron Smith 2023-09-19 17:37:42 +01:00
parent 299ebfc0ac
commit d8a627c58a
2 changed files with 4 additions and 1 deletions

View file

@ -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()