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

Function with_org_override

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

Source from the content-addressed store, hash-verified

206
207 #[test]
208 fn with_org_override() {
209 let cmd = OrgDelete {
210 slug: "target-org".to_string(),
211 force: false,
212 org: Some("client-org".to_string()),
213 };
214 assert_eq!(cmd.slug, "target-org");
215 assert_eq!(cmd.org.as_deref(), Some("client-org"));
216 }
217
218 #[test]
219 fn force_and_org_combined() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected