()
| 1195 | |
| 1196 | #[test] |
| 1197 | fn test_constructor_file_not_found() { |
| 1198 | let err = CliError::file_not_found("src/lib.rs"); |
| 1199 | match err { |
| 1200 | CliError::FileNotFound { path } => { |
| 1201 | assert_eq!(path, PathBuf::from("src/lib.rs")); |
| 1202 | } |
| 1203 | _ => panic!("Wrong error variant"), |
| 1204 | } |
| 1205 | } |
| 1206 | |
| 1207 | #[test] |
| 1208 | fn test_constructor_change_not_found() { |
nothing calls this directly
no outgoing calls
no test coverage detected