()
| 76 | |
| 77 | #[test] |
| 78 | fn attach_future() { |
| 79 | let future = create_future() |
| 80 | .change_context(ContextA(0)) |
| 81 | .attach_opaque(AttachmentA) |
| 82 | .change_context_lazy(|| ContextB(0)) |
| 83 | .attach_opaque_with(|| AttachmentB); |
| 84 | |
| 85 | let error = futures::executor::block_on(future); |
| 86 | |
| 87 | let report = error.expect_err("Not an error"); |
| 88 | test_messages(&report); |
| 89 | test_kinds(&report); |
| 90 | } |
nothing calls this directly
no test coverage detected