()
| 269 | |
| 270 | #[test] |
| 271 | fn test_list_command_fields() { |
| 272 | let cmd = List { |
| 273 | usage: Some("personal".to_string()), |
| 274 | identity_type: Some("user".to_string()), |
| 275 | verbose: true, |
| 276 | format: "json".to_string(), |
| 277 | }; |
| 278 | |
| 279 | assert_eq!(cmd.usage, Some("personal".to_string())); |
| 280 | assert_eq!(cmd.identity_type, Some("user".to_string())); |
| 281 | assert!(cmd.verbose); |
| 282 | assert_eq!(cmd.format, "json"); |
| 283 | } |
| 284 | |
| 285 | #[test] |
| 286 | fn test_default_format() { |
nothing calls this directly
no outgoing calls
no test coverage detected