Fix bug in thread.returns test (#70)
This commit is contained in:
parent
641d111c23
commit
7e479f9f0a
@ -213,6 +213,9 @@ test.thread.returns = function ()
|
|||||||
|
|
||||||
test.is_function(returns[5])
|
test.is_function(returns[5])
|
||||||
test.equal(returns[5](11, 89), 100)
|
test.equal(returns[5](11, 89), 100)
|
||||||
|
|
||||||
|
-- Workaround to get child thread free all return values
|
||||||
|
effil.sleep(2)
|
||||||
end
|
end
|
||||||
|
|
||||||
test.thread.timed_cancel = function ()
|
test.thread.timed_cancel = function ()
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user