(cmd: &WorkspaceCommands)
| 202 | #[test] |
| 203 | fn test_workspace_commands_variants() { |
| 204 | fn check_variant(cmd: &WorkspaceCommands) -> &'static str { |
| 205 | match cmd { |
| 206 | WorkspaceCommands::List(_) => "list", |
| 207 | WorkspaceCommands::Create(_) => "create", |
| 208 | WorkspaceCommands::Show(_) => "show", |
| 209 | WorkspaceCommands::Update(_) => "update", |
| 210 | WorkspaceCommands::Delete(_) => "delete", |
| 211 | WorkspaceCommands::Set(_) => "set", |
| 212 | WorkspaceCommands::Grant(_) => "grant", |
| 213 | } |
| 214 | } |
| 215 | |
| 216 | let list = WorkspaceList::default(); |
| 217 | let create = WorkspaceCreate::default(); |
nothing calls this directly
no outgoing calls
no test coverage detected