()
| 149 | |
| 150 | #[test] |
| 151 | fn workspace_is_stored() { |
| 152 | let cmd = ProjectList { |
| 153 | workspace: Some("my-workspace".to_string()), |
| 154 | org: Some("acme".to_string()), |
| 155 | server: None, |
| 156 | format: "json".to_string(), |
| 157 | }; |
| 158 | assert_eq!(cmd.workspace.as_deref(), Some("my-workspace")); |
| 159 | assert_eq!(cmd.org.as_deref(), Some("acme")); |
| 160 | assert_eq!(cmd.format, "json"); |
| 161 | } |
| 162 | |
| 163 | #[test] |
| 164 | fn workspace_can_be_omitted() { |
nothing calls this directly
no outgoing calls
no test coverage detected