()
| 158 | |
| 159 | #[test] |
| 160 | fn fields_parse() { |
| 161 | let cmd = WorkspaceDelete { |
| 162 | slug: "old-ws".to_string(), |
| 163 | org: Some("acme".to_string()), |
| 164 | force: true, |
| 165 | }; |
| 166 | assert_eq!(cmd.slug, "old-ws"); |
| 167 | assert_eq!(cmd.org.as_deref(), Some("acme")); |
| 168 | assert!(cmd.force); |
| 169 | } |
| 170 | |
| 171 | #[test] |
| 172 | fn default_force_is_false() { |
nothing calls this directly
no outgoing calls
no test coverage detected