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

Function with_name_only

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

Source from the content-addressed store, hash-verified

192
193 #[test]
194 fn with_name_only() {
195 let cmd = TeamUpdate {
196 slug: "backend-eng".to_string(),
197 name: Some("Backend Engineering".to_string()),
198 description: None,
199 visibility: None,
200 org: None,
201 };
202 assert_eq!(cmd.name.as_deref(), Some("Backend Engineering"));
203 }
204
205 #[test]
206 fn with_description_only() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected