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

Function required_slug

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

Source from the content-addressed store, hash-verified

176
177 #[test]
178 fn required_slug() {
179 let cmd = TeamUpdate {
180 slug: "backend-eng".to_string(),
181 name: None,
182 description: None,
183 visibility: None,
184 org: None,
185 };
186 assert_eq!(cmd.slug, "backend-eng");
187 assert!(cmd.name.is_none());
188 assert!(cmd.description.is_none());
189 assert!(cmd.visibility.is_none());
190 assert!(cmd.org.is_none());
191 }
192
193 #[test]
194 fn with_name_only() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected