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

Function with_all_fields

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

Source from the content-addressed store, hash-verified

228
229 #[test]
230 fn with_all_fields() {
231 let cmd = TeamUpdate {
232 slug: "backend-eng".to_string(),
233 name: Some("New Name".to_string()),
234 description: Some("New desc".to_string()),
235 visibility: Some("visible".to_string()),
236 org: Some("acme".to_string()),
237 };
238 assert!(cmd.name.is_some());
239 assert!(cmd.description.is_some());
240 assert!(cmd.visibility.is_some());
241 assert!(cmd.org.is_some());
242 }
243
244 #[test]
245 fn visibility_parsing_valid() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected