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

Function test_format_usage

atomic-cli/src/commands/identity/mod.rs:567–572  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

565
566 #[test]
567 fn test_format_usage() {
568 assert_eq!(format_usage(&IdentityUsage::Personal), "personal");
569 assert_eq!(format_usage(&IdentityUsage::Work), "work");
570 assert_eq!(format_usage(&IdentityUsage::Community), "community");
571 assert_eq!(format_usage(&IdentityUsage::Bot), "bot");
572 }
573
574 #[test]
575 fn test_parse_identity_type() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected