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

Function parse_valid_team_roles

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

Source from the content-addressed store, hash-verified

677
678 #[test]
679 fn parse_valid_team_roles() {
680 assert!("maintainer".parse::<TeamRole>().is_ok());
681 assert!("contributor".parse::<TeamRole>().is_ok());
682 assert!("collaborator".parse::<TeamRole>().is_ok());
683 assert!("consumer".parse::<TeamRole>().is_ok());
684 }
685
686 #[test]
687 fn parse_invalid_team_role() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected