()
| 156 | |
| 157 | #[test] |
| 158 | fn with_name_only() { |
| 159 | let cmd = OrgUpdate { |
| 160 | slug: Some("acme".to_string()), |
| 161 | name: Some("Acme Industries".to_string()), |
| 162 | email: None, |
| 163 | org: None, |
| 164 | }; |
| 165 | assert_eq!(cmd.slug.as_deref(), Some("acme")); |
| 166 | assert_eq!(cmd.name.as_deref(), Some("Acme Industries")); |
| 167 | assert!(cmd.email.is_none()); |
| 168 | } |
| 169 | |
| 170 | #[test] |
| 171 | fn with_email_only() { |
nothing calls this directly
no outgoing calls
no test coverage detected