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

Function with_description_only

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

Source from the content-addressed store, hash-verified

204
205 #[test]
206 fn with_description_only() {
207 let cmd = TeamUpdate {
208 slug: "backend-eng".to_string(),
209 name: None,
210 description: Some("Core backend services".to_string()),
211 visibility: None,
212 org: None,
213 };
214 assert_eq!(cmd.description.as_deref(), Some("Core backend services"));
215 }
216
217 #[test]
218 fn with_visibility_only() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected