()
| 264 | |
| 265 | #[test] |
| 266 | fn linear() { |
| 267 | let _guard = prepare(false); |
| 268 | |
| 269 | let report = create_report() |
| 270 | .attach(PrintableA(0)) |
| 271 | .attach_opaque(AttachmentA) |
| 272 | .attach_opaque(AttachmentB) |
| 273 | .change_context(ContextA(0)) |
| 274 | .attach(PrintableB(0)) |
| 275 | .attach_opaque(AttachmentB) |
| 276 | .change_context(ContextB(0)) |
| 277 | .attach("printable C"); |
| 278 | |
| 279 | assert_snapshot!(format!("{report:?}")); |
| 280 | } |
| 281 | |
| 282 | #[test] |
| 283 | fn linear_ext() { |
nothing calls this directly
no test coverage detected