()
| 413 | |
| 414 | #[test] |
| 415 | fn test_graph_error() { |
| 416 | let err = OutputError::graph(std::io::Error::new( |
| 417 | std::io::ErrorKind::InvalidData, |
| 418 | "corrupted", |
| 419 | )); |
| 420 | |
| 421 | assert!(err.is_graph()); |
| 422 | assert!(err.to_string().contains("Graph")); |
| 423 | } |
| 424 | |
| 425 | #[test] |
| 426 | fn test_path_not_found() { |