()
| 149 | |
| 150 | #[test] |
| 151 | fn json_format() { |
| 152 | let cmd = TeamList { |
| 153 | org: None, |
| 154 | format: Some("json".to_string()), |
| 155 | }; |
| 156 | let is_json = cmd |
| 157 | .format |
| 158 | .as_deref() |
| 159 | .map(|f| f.eq_ignore_ascii_case("json")) |
| 160 | .unwrap_or(false); |
| 161 | assert!(is_json); |
| 162 | } |
| 163 | |
| 164 | #[test] |
| 165 | fn table_format_is_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected