Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashintel/hash
/ finish_with_value_ok
Function
finish_with_value_ok
libs/error-stack/src/sink.rs:666–671 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
664
665
#[test]
666
fn finish_with_value_ok() {
667
let sink: ReportSink<TestError> = ReportSink::new();
668
669
let value = sink.finish_ok(8).expect(
"should have succeeded"
);
670
assert_eq!(value, 8);
671
}
672
}
Callers
nothing calls this directly
Calls
2
finish_ok
Method · 0.80
expect
Method · 0.45
Tested by
no test coverage detected