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

Function test_list_command_fields

atomic-cli/src/commands/identity/list.rs:271–283  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

269
270 #[test]
271 fn test_list_command_fields() {
272 let cmd = List {
273 usage: Some("personal".to_string()),
274 identity_type: Some("user".to_string()),
275 verbose: true,
276 format: "json".to_string(),
277 };
278
279 assert_eq!(cmd.usage, Some("personal".to_string()));
280 assert_eq!(cmd.identity_type, Some("user".to_string()));
281 assert!(cmd.verbose);
282 assert_eq!(cmd.format, "json");
283 }
284
285 #[test]
286 fn test_default_format() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected