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

Function test_show_command_fields

atomic-cli/src/commands/identity/show.rs:212–222  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

210
211 #[test]
212 fn test_show_command_fields() {
213 let cmd = Show {
214 name: "alice".to_string(),
215 format: "default".to_string(),
216 show_public_key: false,
217 };
218
219 assert_eq!(cmd.name, "alice");
220 assert_eq!(cmd.format, "default");
221 assert!(!cmd.show_public_key);
222 }
223
224 #[test]
225 fn test_show_command_with_json_format() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected