Skip to content
Snippets Groups Projects
Commit 8f25eb50 authored by Henrik (Grubba) Grubbström's avatar Henrik (Grubba) Grubbström
Browse files

Testsuite [Concurrent.Promise]: Fix broken promise.

init_promise() creates a promise and gets its future. The
Concurrent.results() - empty test throws away both. This
caused the gc to generate complaints about broken promises.

Fixes erroneous testsuite output.
parent d54764ea
Branches
Tags
No related merge requests found
...@@ -483,7 +483,7 @@ test_do([[ add_constant("p13"); ]]) ...@@ -483,7 +483,7 @@ test_do([[ add_constant("p13"); ]])
exit_promise(1, ({11, 14, 12, 13})) exit_promise(1, ({11, 14, 12, 13}))
dnl - Concurrent.results() - empty dnl - Concurrent.results() - empty
init_promise() dnl init_promise()
test_do([[ add_constant("future", Concurrent.results(({}))); ]]) test_do([[ add_constant("future", Concurrent.results(({}))); ]])
init_future() init_future()
exit_promise(1, ({})) exit_promise(1, ({}))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment