MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / list_json_format

Function list_json_format

atomic-cli/src/commands/team/member.rs:538–550  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected