()
| 163 | |
| 164 | #[test] |
| 165 | fn parse_visibility_valid() { |
| 166 | let cmd = WorkspaceCreate { |
| 167 | name: "test".to_string(), |
| 168 | visibility: "public".to_string(), |
| 169 | ..Default::default() |
| 170 | }; |
| 171 | let v = cmd.parse_visibility().unwrap(); |
| 172 | assert_eq!(v, Visibility::Public); |
| 173 | } |
| 174 | |
| 175 | #[test] |
| 176 | fn parse_visibility_invalid() { |
nothing calls this directly
no test coverage detected