(cmd: &TeamCommands)
| 186 | #[test] |
| 187 | fn test_team_commands_variants() { |
| 188 | fn check_variant(cmd: &TeamCommands) -> &'static str { |
| 189 | match cmd { |
| 190 | TeamCommands::List(_) => "list", |
| 191 | TeamCommands::Create(_) => "create", |
| 192 | TeamCommands::Show(_) => "show", |
| 193 | TeamCommands::Update(_) => "update", |
| 194 | TeamCommands::Delete(_) => "delete", |
| 195 | TeamCommands::Member(_) => "member", |
| 196 | } |
| 197 | } |
| 198 | |
| 199 | let list = list::TeamList { |
| 200 | org: None, |
nothing calls this directly
no outgoing calls
no test coverage detected