MCPcopy 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]
24fn attachment() {
25 let _guard = prepare();
26
27 let report = create_report().attach(PrintableA(2));
28
29 assert_ron_snapshot!(report);
30}
31
32#[test]
33fn context() {

Callers 2

attach_withMethod · 0.85
attach_opaque_withMethod · 0.85

Calls 4

PrintableAClass · 0.85
prepareFunction · 0.70
create_reportFunction · 0.70
attachMethod · 0.45

Tested by

no test coverage detected