()
| 46 | |
| 47 | #[test] |
| 48 | fn attach_result() { |
| 49 | let error = create_error() |
| 50 | .attach(PrintableA(0)) |
| 51 | .attach_with(|| PrintableB(0)) |
| 52 | .attach(ContextA(0)) |
| 53 | .attach_with(|| ContextB(0)); |
| 54 | |
| 55 | let report = error.expect_err("Not an error"); |
| 56 | test_messages(&report); |
| 57 | test_kinds(&report); |
| 58 | } |
| 59 | |
| 60 | #[test] |
| 61 | fn attach_future() { |
nothing calls this directly
no test coverage detected