()
| 1206 | |
| 1207 | #[test] |
| 1208 | fn test_constructor_change_not_found() { |
| 1209 | let err = CliError::change_not_found("DEADBEEF"); |
| 1210 | match err { |
| 1211 | CliError::ChangeNotFound { hash } => { |
| 1212 | assert_eq!(hash, "DEADBEEF"); |
| 1213 | } |
| 1214 | _ => panic!("Wrong error variant"), |
| 1215 | } |
| 1216 | } |
| 1217 | |
| 1218 | #[test] |
| 1219 | fn test_constructor_remote_error_with_url() { |
nothing calls this directly
no outgoing calls
no test coverage detected