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

Function json_format

atomic-cli/src/commands/org/list.rs:202–213  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

200
201 #[test]
202 fn json_format() {
203 let cmd = OrgList {
204 server: None,
205 format: Some("json".to_string()),
206 };
207 let is_json = cmd
208 .format
209 .as_deref()
210 .map(|f| f.eq_ignore_ascii_case("json"))
211 .unwrap_or(false);
212 assert!(is_json);
213 }
214
215 #[test]
216 fn table_format_is_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected