()
| 488 | |
| 489 | #[test] |
| 490 | fn test_display_io() { |
| 491 | let err = OutputError::io(std::io::Error::new( |
| 492 | std::io::ErrorKind::NotFound, |
| 493 | "file not found", |
| 494 | )); |
| 495 | let display = err.to_string(); |
| 496 | |
| 497 | assert!(display.contains("I/O error")); |
| 498 | assert!(display.contains("file not found")); |
| 499 | } |
| 500 | |
| 501 | #[test] |
| 502 | fn test_display_working_copy() { |
nothing calls this directly
no outgoing calls
no test coverage detected