()
| 1553 | |
| 1554 | #[test] |
| 1555 | fn test_error_from_io() { |
| 1556 | let io_err = std::io::Error::other("test error"); |
| 1557 | let err: FileOutputError<std::io::Error> = io_err.into(); |
| 1558 | |
| 1559 | match err { |
| 1560 | FileOutputError::Io(_) => (), |
| 1561 | _ => panic!("Expected Io variant"), |
| 1562 | } |
| 1563 | } |
| 1564 | |
| 1565 | #[test] |
| 1566 | fn test_error_from_pristine() { |
nothing calls this directly
no outgoing calls
no test coverage detected