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

Function required_slug

atomic-cli/src/commands/org/delete.rs:186–195  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

184
185 #[test]
186 fn required_slug() {
187 let cmd = OrgDelete {
188 slug: "acme-corp".to_string(),
189 force: false,
190 org: None,
191 };
192 assert_eq!(cmd.slug, "acme-corp");
193 assert!(!cmd.force);
194 assert!(cmd.org.is_none());
195 }
196
197 #[test]
198 fn with_force() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected