()
| 63 | |
| 64 | #[test] |
| 65 | fn attach_result() { |
| 66 | let error = create_error() |
| 67 | .change_context(ContextA(0)) |
| 68 | .attach_opaque(AttachmentA) |
| 69 | .change_context_lazy(|| ContextB(0)) |
| 70 | .attach_opaque_with(|| AttachmentB); |
| 71 | |
| 72 | let report = error.expect_err("Not an error"); |
| 73 | test_messages(&report); |
| 74 | test_kinds(&report); |
| 75 | } |
| 76 | |
| 77 | #[test] |
| 78 | fn attach_future() { |
nothing calls this directly
no test coverage detected