()
| 67 | |
| 68 | #[test] |
| 69 | fn attach_result() { |
| 70 | let error = create_error() |
| 71 | .attach_opaque(PrintableA) |
| 72 | .attach_opaque_with(|| PrintableB(0)) |
| 73 | .attach_opaque(AttachmentA) |
| 74 | .attach_opaque_with(|| AttachmentB); |
| 75 | |
| 76 | let report = error.expect_err("Not an error"); |
| 77 | test_messages(&report); |
| 78 | test_kinds(&report); |
| 79 | } |
| 80 | |
| 81 | #[test] |
| 82 | fn attach_future() { |
nothing calls this directly
no test coverage detected