()
| 228 | |
| 229 | #[test] |
| 230 | fn with_all_fields() { |
| 231 | let cmd = TeamUpdate { |
| 232 | slug: "backend-eng".to_string(), |
| 233 | name: Some("New Name".to_string()), |
| 234 | description: Some("New desc".to_string()), |
| 235 | visibility: Some("visible".to_string()), |
| 236 | org: Some("acme".to_string()), |
| 237 | }; |
| 238 | assert!(cmd.name.is_some()); |
| 239 | assert!(cmd.description.is_some()); |
| 240 | assert!(cmd.visibility.is_some()); |
| 241 | assert!(cmd.org.is_some()); |
| 242 | } |
| 243 | |
| 244 | #[test] |
| 245 | fn visibility_parsing_valid() { |
nothing calls this directly
no outgoing calls
no test coverage detected