Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/hashintel/hash
/ attachment
Function
attachment
libs/error-stack/tests/test_serialize.rs:24–30 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
22
23
#[test]
24
fn attachment() {
25
let _guard = prepare();
26
27
let report = create_report().attach(PrintableA(2));
28
29
assert_ron_snapshot!(report);
30
}
31
32
#[test]
33
fn context() {
Callers
2
attach_with
Method · 0.85
attach_opaque_with
Method · 0.85
Calls
4
PrintableA
Class · 0.85
prepare
Function · 0.70
create_report
Function · 0.70
attach
Method · 0.45
Tested by
no test coverage detected