MCPcopy Create free account
hub / github.com/hashintel/hash / attach_opaque

Function attach_opaque

libs/error-stack/tests/test_attach_printable.rs:36–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

34
35#[test]
36fn attach_opaque() {
37 let report = create_report()
38 .attach(PrintableA(0))
39 .attach(PrintableB(0))
40 .attach(ContextA(0))
41 .attach(ContextB(0));
42
43 test_messages(&report);
44 test_kinds(&report);
45}
46
47#[test]
48fn attach_result() {

Callers

nothing calls this directly

Calls 8

PrintableAClass · 0.85
PrintableBClass · 0.85
ContextAClass · 0.85
ContextBClass · 0.85
create_reportFunction · 0.70
test_messagesFunction · 0.70
test_kindsFunction · 0.70
attachMethod · 0.45

Tested by

no test coverage detected