()
| 1184 | |
| 1185 | #[test] |
| 1186 | fn test_constructor_view_not_found() { |
| 1187 | let err = CliError::view_not_found("feature-branch"); |
| 1188 | match err { |
| 1189 | CliError::ViewNotFound { name } => { |
| 1190 | assert_eq!(name, "feature-branch"); |
| 1191 | } |
| 1192 | _ => panic!("Wrong error variant"), |
| 1193 | } |
| 1194 | } |
| 1195 | |
| 1196 | #[test] |
| 1197 | fn test_constructor_file_not_found() { |
nothing calls this directly
no outgoing calls
no test coverage detected