()
| 349 | /// This should demonstrate that we're able to generate with multiple groups at the same time. |
| 350 | #[test] |
| 351 | fn sources() { |
| 352 | let _guard = prepare(false); |
| 353 | |
| 354 | let mut root1 = create_report().attach(PrintableA(1)).expand(); |
| 355 | let root2 = create_report().attach(PrintableB(2)); |
| 356 | let root3 = create_report().attach(PrintableB(3)); |
| 357 | |
| 358 | root1.push(root2); |
| 359 | root1.push(root3); |
| 360 | |
| 361 | let report = root1 |
| 362 | .attach_opaque(AttachmentA(1)) |
| 363 | .change_context(ContextA(2)) |
| 364 | .attach_opaque(AttachmentB(2)); |
| 365 | |
| 366 | assert_snapshot!(format!("{report:?}")); |
| 367 | } |
| 368 | |
| 369 | /// Generate the `Debug` for: |
| 370 | /// |
nothing calls this directly
no test coverage detected