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

Function with_both_fields

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

Source from the content-addressed store, hash-verified

180
181 #[test]
182 fn with_both_fields() {
183 let cmd = OrgUpdate {
184 slug: Some("acme".to_string()),
185 name: Some("New Name".to_string()),
186 email: Some("new@acme.com".to_string()),
187 org: None,
188 };
189 assert!(cmd.name.is_some());
190 assert!(cmd.email.is_some());
191 }
192
193 #[test]
194 fn with_org_override() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected