()
| 6 | |
| 7 | #[test] |
| 8 | fn normal() { |
| 9 | let report = create_report() |
| 10 | .attach(PrintableA(0)) |
| 11 | .attach_opaque(AttachmentA) |
| 12 | .change_context(ContextA(0)) |
| 13 | .attach(PrintableB(0)) |
| 14 | .attach_opaque(AttachmentB) |
| 15 | .change_context(ContextB(0)); |
| 16 | |
| 17 | assert_eq!(report.to_string(), "context B"); |
| 18 | } |
| 19 | |
| 20 | #[test] |
| 21 | fn extended() { |
no test coverage detected