()
| 174 | } |
| 175 | |
| 176 | pub fn create_future() -> impl Future<Output = Result<(), Report<RootError>>> { |
| 177 | futures::future::err(create_report()) |
| 178 | } |
| 179 | |
| 180 | pub fn capture_ok<E>(closure: impl FnOnce() -> Result<(), Report<E>>) { |
| 181 | closure().expect("expected an OK value, found an error"); |
no test coverage detected