()
| 281 | |
| 282 | #[test] |
| 283 | fn linear_ext() { |
| 284 | let _guard = prepare(false); |
| 285 | |
| 286 | let report = create_report() |
| 287 | .attach(PrintableA(0)) |
| 288 | .attach_opaque(AttachmentA) |
| 289 | .attach_opaque(AttachmentB) |
| 290 | .change_context(ContextA(0)) |
| 291 | .attach(PrintableB(0)) |
| 292 | .attach_opaque(AttachmentB) |
| 293 | .change_context(ContextB(0)) |
| 294 | .attach("printable C"); |
| 295 | |
| 296 | assert_snapshot!(format!("{report:#?}")); |
| 297 | } |
| 298 | |
| 299 | #[derive(Debug)] |
| 300 | struct ContextC; |
nothing calls this directly
no test coverage detected