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

Function with_email

atomic-cli/src/commands/org/create.rs:139–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138 #[test]
139 fn with_email() {
140 let cmd = OrgCreate {
141 name: "Acme Corp".to_string(),
142 email: Some("admin@acme.com".to_string()),
143 };
144 assert_eq!(cmd.name, "Acme Corp");
145 assert_eq!(cmd.email.as_deref(), Some("admin@acme.com"));
146 }
147
148 #[test]
149 fn name_with_special_characters() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected