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

Function with_name_only

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

Source from the content-addressed store, hash-verified

156
157 #[test]
158 fn with_name_only() {
159 let cmd = OrgUpdate {
160 slug: Some("acme".to_string()),
161 name: Some("Acme Industries".to_string()),
162 email: None,
163 org: None,
164 };
165 assert_eq!(cmd.slug.as_deref(), Some("acme"));
166 assert_eq!(cmd.name.as_deref(), Some("Acme Industries"));
167 assert!(cmd.email.is_none());
168 }
169
170 #[test]
171 fn with_email_only() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected