()
| 618 | |
| 619 | #[test] |
| 620 | fn finish_with_ok() { |
| 621 | let sink: ReportSink<TestError> = ReportSink::new(); |
| 622 | |
| 623 | let value = sink.finish_with(|| 8).expect("should have succeeded"); |
| 624 | assert_eq!(value, 8); |
| 625 | } |
| 626 | |
| 627 | #[test] |
| 628 | fn finish_default() { |
nothing calls this directly
no test coverage detected