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

Function no_fields_is_invalid

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

Source from the content-addressed store, hash-verified

206
207 #[test]
208 fn no_fields_is_invalid() {
209 // Verify that execute() would reject this — we test the validation
210 // logic inline since we can't call execute() without a server.
211 let cmd = OrgUpdate {
212 slug: None,
213 name: None,
214 email: None,
215 org: None,
216 };
217 assert!(cmd.name.is_none() && cmd.email.is_none());
218 }
219}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected