()
| 174 | |
| 175 | #[test] |
| 176 | fn parse_visibility_invalid() { |
| 177 | let cmd = WorkspaceCreate { |
| 178 | name: "test".to_string(), |
| 179 | visibility: "bogus".to_string(), |
| 180 | ..Default::default() |
| 181 | }; |
| 182 | let err = cmd.parse_visibility(); |
| 183 | assert!(err.is_err()); |
| 184 | } |
| 185 | |
| 186 | #[test] |
| 187 | fn empty_name_rejected() { |
nothing calls this directly
no test coverage detected