()
| 536 | |
| 537 | #[test] |
| 538 | fn list_json_format() { |
| 539 | let cmd = TeamMemberList { |
| 540 | team_slug: "backend-eng".to_string(), |
| 541 | org: None, |
| 542 | format: Some("json".to_string()), |
| 543 | }; |
| 544 | let is_json = cmd |
| 545 | .format |
| 546 | .as_deref() |
| 547 | .map(|f| f.eq_ignore_ascii_case("json")) |
| 548 | .unwrap_or(false); |
| 549 | assert!(is_json); |
| 550 | } |
| 551 | |
| 552 | #[test] |
| 553 | fn list_table_format_is_default() { |
nothing calls this directly
no outgoing calls
no test coverage detected