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

Function table_format_is_default

atomic-cli/src/commands/team/show.rs:178–190  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

176
177 #[test]
178 fn table_format_is_default() {
179 let cmd = TeamShow {
180 slug: "backend-eng".to_string(),
181 org: None,
182 format: None,
183 };
184 let is_json = cmd
185 .format
186 .as_deref()
187 .map(|f| f.eq_ignore_ascii_case("json"))
188 .unwrap_or(false);
189 assert!(!is_json);
190 }
191
192 #[test]
193 fn json_format_case_insensitive() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected