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

Function attach_opaque

libs/error-stack/tests/test_attach.rs:30–39  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

28
29#[test]
30fn attach_opaque() {
31 let report = create_report()
32 .attach_opaque(PrintableA)
33 .attach_opaque(PrintableB(0))
34 .attach_opaque(AttachmentA)
35 .attach_opaque(AttachmentB);
36
37 test_messages(&report);
38 test_kinds(&report);
39}
40
41#[test]
42fn attach_group() {

Callers

nothing calls this directly

Calls 5

PrintableBClass · 0.85
create_reportFunction · 0.70
test_messagesFunction · 0.70
test_kindsFunction · 0.70
attach_opaqueMethod · 0.45

Tested by

no test coverage detected