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

Function json_format

atomic-cli/src/commands/team/list.rs:151–162  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected