()
| 480 | |
| 481 | #[test] |
| 482 | fn test_error_from_io() { |
| 483 | let io_err = std::io::Error::other("test"); |
| 484 | let err: MaterializeError<std::io::Error> = io_err.into(); |
| 485 | |
| 486 | match err { |
| 487 | MaterializeError::Io(_) => (), |
| 488 | _ => panic!("Expected Io variant"), |
| 489 | } |
| 490 | } |
| 491 | |
| 492 | #[test] |
| 493 | fn test_error_from_pristine() { |
nothing calls this directly
no outgoing calls
no test coverage detected