()
| 242 | |
| 243 | #[test] |
| 244 | fn parse_visibility_invalid() { |
| 245 | let cmd = ProjectCreate { |
| 246 | name: "p".to_string(), |
| 247 | workspace: Some("w".to_string()), |
| 248 | visibility: "bogus".to_string(), |
| 249 | ..Default::default() |
| 250 | }; |
| 251 | assert!(cmd.parse_visibility().is_err()); |
| 252 | } |
| 253 | |
| 254 | #[test] |
| 255 | fn empty_name_rejected() { |
nothing calls this directly
no outgoing calls
no test coverage detected