()
| 251 | |
| 252 | #[test] |
| 253 | fn test_parse_usage_personal() { |
| 254 | let cmd = New { |
| 255 | name: "test".to_string(), |
| 256 | email: None, |
| 257 | identity_type: "user".to_string(), |
| 258 | usage: "personal".to_string(), |
| 259 | description: None, |
| 260 | set_default: false, |
| 261 | set_default_for_usage: false, |
| 262 | }; |
| 263 | assert!(cmd.parse_usage().is_personal()); |
| 264 | } |
| 265 | |
| 266 | #[test] |
| 267 | fn test_parse_usage_work() { |
nothing calls this directly
no outgoing calls
no test coverage detected