(cmd: &OrgCommands)
| 221 | #[test] |
| 222 | fn test_org_commands_variants() { |
| 223 | fn check_variant(cmd: &OrgCommands) -> &'static str { |
| 224 | match cmd { |
| 225 | OrgCommands::Show(_) => "show", |
| 226 | OrgCommands::Create(_) => "create", |
| 227 | OrgCommands::List(_) => "list", |
| 228 | OrgCommands::Update(_) => "update", |
| 229 | OrgCommands::Delete(_) => "delete", |
| 230 | OrgCommands::Upgrade(_) => "upgrade", |
| 231 | OrgCommands::Set(_) => "set", |
| 232 | OrgCommands::Member(_) => "member", |
| 233 | } |
| 234 | } |
| 235 | |
| 236 | // Verify variant names match expectations |
| 237 | let show = show::OrgShow { |
nothing calls this directly
no outgoing calls
no test coverage detected