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

Function with_email_only

atomic-cli/src/commands/org/update.rs:171–179  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

169
170 #[test]
171 fn with_email_only() {
172 let cmd = OrgUpdate {
173 slug: None,
174 name: None,
175 email: Some("new@acme.com".to_string()),
176 org: None,
177 };
178 assert_eq!(cmd.email.as_deref(), Some("new@acme.com"));
179 }
180
181 #[test]
182 fn with_both_fields() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected