()
| 176 | |
| 177 | #[test] |
| 178 | fn table_format_is_default() { |
| 179 | let cmd = TeamShow { |
| 180 | slug: "backend-eng".to_string(), |
| 181 | org: None, |
| 182 | format: None, |
| 183 | }; |
| 184 | let is_json = cmd |
| 185 | .format |
| 186 | .as_deref() |
| 187 | .map(|f| f.eq_ignore_ascii_case("json")) |
| 188 | .unwrap_or(false); |
| 189 | assert!(!is_json); |
| 190 | } |
| 191 | |
| 192 | #[test] |
| 193 | fn json_format_case_insensitive() { |
nothing calls this directly
no outgoing calls
no test coverage detected