()
| 210 | |
| 211 | #[test] |
| 212 | fn test_show_command_fields() { |
| 213 | let cmd = Show { |
| 214 | name: "alice".to_string(), |
| 215 | format: "default".to_string(), |
| 216 | show_public_key: false, |
| 217 | }; |
| 218 | |
| 219 | assert_eq!(cmd.name, "alice"); |
| 220 | assert_eq!(cmd.format, "default"); |
| 221 | assert!(!cmd.show_public_key); |
| 222 | } |
| 223 | |
| 224 | #[test] |
| 225 | fn test_show_command_with_json_format() { |
nothing calls this directly
no outgoing calls
no test coverage detected