()
| 161 | |
| 162 | #[test] |
| 163 | fn json_format_flag() { |
| 164 | let cmd = TeamShow { |
| 165 | slug: "backend-eng".to_string(), |
| 166 | org: None, |
| 167 | format: Some("json".to_string()), |
| 168 | }; |
| 169 | let is_json = cmd |
| 170 | .format |
| 171 | .as_deref() |
| 172 | .map(|f| f.eq_ignore_ascii_case("json")) |
| 173 | .unwrap_or(false); |
| 174 | assert!(is_json); |
| 175 | } |
| 176 | |
| 177 | #[test] |
| 178 | fn table_format_is_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected