()
| 1518 | |
| 1519 | #[test] |
| 1520 | fn test_error_display_io() { |
| 1521 | let io_err = std::io::Error::new(std::io::ErrorKind::NotFound, "file not found"); |
| 1522 | let err: FileOutputError<std::io::Error> = FileOutputError::Io(io_err); |
| 1523 | let display = format!("{}", err); |
| 1524 | |
| 1525 | assert!(display.contains("I/O error")); |
| 1526 | } |
| 1527 | |
| 1528 | #[test] |
| 1529 | fn test_error_display_working_copy() { |
nothing calls this directly
no outgoing calls
no test coverage detected