()
| 196 | |
| 197 | #[test] |
| 198 | fn parse_project_path_no_slash() { |
| 199 | let result = parse_project_path("noslash"); |
| 200 | assert!(result.is_err()); |
| 201 | match result.unwrap_err() { |
| 202 | CliError::InvalidArgument { message } => { |
| 203 | assert!(message.contains("workspace/project")); |
| 204 | assert!(message.contains("noslash")); |
| 205 | } |
| 206 | other => panic!("expected InvalidArgument, got {:?}", other), |
| 207 | } |
| 208 | } |
| 209 | |
| 210 | #[test] |
| 211 | fn parse_project_path_empty_string() { |
nothing calls this directly
no test coverage detected