Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/3rdparty/libprocess
/ repair
Function
repair
src/tests/future_tests.cpp:262–267 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
260
261
262
Future<int> repair(const Future<int>& future)
263
{
264
EXPECT_TRUE(future.isFailed());
265
EXPECT_EQ(
"Failure"
, future.failure());
266
return 43;
267
}
268
269
270
// Checks that
'repair'
callback gets executed if the future failed
Callers
nothing calls this directly
Calls
1
isFailed
Method · 0.80
Tested by
no test coverage detected