(cmd: &ProjectCommands)
| 215 | #[test] |
| 216 | fn test_project_commands_variants() { |
| 217 | fn check_variant(cmd: &ProjectCommands) -> &'static str { |
| 218 | match cmd { |
| 219 | ProjectCommands::List(_) => "list", |
| 220 | ProjectCommands::Create(_) => "create", |
| 221 | ProjectCommands::Show(_) => "show", |
| 222 | ProjectCommands::Update(_) => "update", |
| 223 | ProjectCommands::Delete(_) => "delete", |
| 224 | ProjectCommands::Init(_) => "init", |
| 225 | } |
| 226 | } |
| 227 | |
| 228 | let list = list::ProjectList { |
| 229 | workspace: Some("ws".to_string()), |
nothing calls this directly
no outgoing calls
no test coverage detected