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

Function with_visibility_only

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

Source from the content-addressed store, hash-verified

216
217 #[test]
218 fn with_visibility_only() {
219 let cmd = TeamUpdate {
220 slug: "backend-eng".to_string(),
221 name: None,
222 description: None,
223 visibility: Some("secret".to_string()),
224 org: None,
225 };
226 assert_eq!(cmd.visibility.as_deref(), Some("secret"));
227 }
228
229 #[test]
230 fn with_all_fields() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected