()
| 19 | |
| 20 | #[test] |
| 21 | fn extended() { |
| 22 | let report = create_report() |
| 23 | .attach(PrintableA(0)) |
| 24 | .attach_opaque(AttachmentA) |
| 25 | .change_context(ContextA(0)) |
| 26 | .attach(PrintableB(0)) |
| 27 | .attach_opaque(AttachmentB) |
| 28 | .change_context(ContextB(0)); |
| 29 | |
| 30 | assert_eq!(format!("{report:#}"), "context B: context A: root error"); |
| 31 | } |
nothing calls this directly
no test coverage detected