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

Function add_accepts_name

atomic-cli/src/commands/team/member.rs:605–614  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

603
604 #[test]
605 fn add_accepts_name() {
606 let cmd = TeamMemberAdd {
607 team_slug: "backend-eng".to_string(),
608 identity: "alice".to_string(),
609 role: "contributor".to_string(),
610 org: None,
611 };
612 assert!(!cmd.identity.contains('@'));
613 assert!(uuid::Uuid::parse_str(&cmd.identity).is_err());
614 }
615
616 // -- TeamMemberUpdate --
617

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected