()
| 80 | |
| 81 | #[test] |
| 82 | fn attach_future() { |
| 83 | let future = create_future() |
| 84 | .attach_opaque(PrintableA) |
| 85 | .attach_opaque_with(|| PrintableB(0)) |
| 86 | .attach_opaque(AttachmentA) |
| 87 | .attach_opaque_with(|| AttachmentB); |
| 88 | |
| 89 | let error = futures::executor::block_on(future); |
| 90 | |
| 91 | let report = error.expect_err("Not an error"); |
| 92 | test_messages(&report); |
| 93 | test_kinds(&report); |
| 94 | } |
nothing calls this directly
no test coverage detected