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

Function no_fields_is_invalid

atomic-cli/src/commands/team/update.rs:270–281  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

268
269 #[test]
270 fn no_fields_is_invalid() {
271 // Verify that execute() would reject this — we test the validation
272 // logic inline since we can't call execute() without a server.
273 let cmd = TeamUpdate {
274 slug: "backend-eng".to_string(),
275 name: None,
276 description: None,
277 visibility: None,
278 org: None,
279 };
280 assert!(cmd.name.is_none() && cmd.description.is_none() && cmd.visibility.is_none());
281 }
282}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected