()
| 186 | |
| 187 | #[test] |
| 188 | fn with_all_options() { |
| 189 | let cmd = TeamCreate { |
| 190 | name: "Secret Ops".to_string(), |
| 191 | description: Some("Top secret operations".to_string()), |
| 192 | visibility: Some("secret".to_string()), |
| 193 | org: Some("acme".to_string()), |
| 194 | }; |
| 195 | assert_eq!(cmd.name, "Secret Ops"); |
| 196 | assert_eq!(cmd.description.as_deref(), Some("Top secret operations")); |
| 197 | assert_eq!(cmd.visibility.as_deref(), Some("secret")); |
| 198 | assert_eq!(cmd.org.as_deref(), Some("acme")); |
| 199 | } |
| 200 | |
| 201 | #[test] |
| 202 | fn visibility_parsing_valid() { |
nothing calls this directly
no outgoing calls
no test coverage detected