()
| 1564 | |
| 1565 | #[test] |
| 1566 | fn test_error_from_pristine() { |
| 1567 | let pristine_err = crate::pristine::PristineError::ViewNotFound { |
| 1568 | name: "test".to_string(), |
| 1569 | }; |
| 1570 | let err: FileOutputError<std::io::Error> = pristine_err.into(); |
| 1571 | |
| 1572 | match err { |
| 1573 | FileOutputError::Graph(_) => (), |
| 1574 | _ => panic!("Expected Graph variant"), |
| 1575 | } |
| 1576 | } |
| 1577 | |
| 1578 | #[test] |
| 1579 | fn test_error_from_output_error_io() { |
nothing calls this directly
no outgoing calls
no test coverage detected