()
| 59 | |
| 60 | #[test] |
| 61 | fn attach_future() { |
| 62 | let future = create_future() |
| 63 | .attach(PrintableA(0)) |
| 64 | .attach_with(|| PrintableB(0)) |
| 65 | .attach(ContextA(0)) |
| 66 | .attach_with(|| ContextB(0)); |
| 67 | |
| 68 | let error = futures::executor::block_on(future); |
| 69 | |
| 70 | let report = error.expect_err("Not an error"); |
| 71 | test_messages(&report); |
| 72 | test_kinds(&report); |
| 73 | } |
nothing calls this directly
no test coverage detected