scheduler: process_one_task

This commit is contained in:
2018-12-17 13:03:17 +07:00
parent 3f7ceec4b7
commit 5dfcf5911c
4 changed files with 29 additions and 2 deletions

View File

@@ -1039,7 +1039,7 @@ TEST_CASE("promise") {
pr::make_rejected_promise<float>(std::logic_error("hello fail")));
}).except([&call_fail_with_logic_error](std::exception_ptr e){
call_fail_with_logic_error = check_hello_fail_exception(e);
return 0;
return std::make_tuple(0, 0.f);
});
REQUIRE(call_fail_with_logic_error);
}