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

Function table_format_is_default

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

Source from the content-addressed store, hash-verified

214
215 #[test]
216 fn table_format_is_default() {
217 let cmd = OrgList {
218 server: None,
219 format: Some("table".to_string()),
220 };
221 let is_json = cmd
222 .format
223 .as_deref()
224 .map(|f| f.eq_ignore_ascii_case("json"))
225 .unwrap_or(false);
226 assert!(!is_json);
227 }
228
229 #[test]
230 fn json_format_case_insensitive() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected