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

Function table_format_is_default

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

Source from the content-addressed store, hash-verified

163
164 #[test]
165 fn table_format_is_default() {
166 let cmd = TeamList {
167 org: None,
168 format: None,
169 };
170 let is_json = cmd
171 .format
172 .as_deref()
173 .map(|f| f.eq_ignore_ascii_case("json"))
174 .unwrap_or(false);
175 assert!(!is_json);
176 }
177
178 #[test]
179 fn json_format_case_insensitive() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected