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

Function parse_valid_roles

atomic-cli/src/commands/org/member.rs:646–650  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

644
645 #[test]
646 fn parse_valid_roles() {
647 assert!("owner".parse::<OrgRole>().is_ok());
648 assert!("admin".parse::<OrgRole>().is_ok());
649 assert!("member".parse::<OrgRole>().is_ok());
650 }
651
652 #[test]
653 fn parse_invalid_role() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected