()
| 57 | |
| 58 | #[test] |
| 59 | fn report() { |
| 60 | let report = io_error().map_err(Report::new).expect_err("not an error"); |
| 61 | assert!(report.contains::<io::Error>()); |
| 62 | assert_eq!(report.current_context().kind(), io::ErrorKind::Other); |
| 63 | } |
| 64 | |
| 65 | #[test] |
| 66 | fn error() { |