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

Function with_org_override

atomic-cli/src/commands/team/delete.rs:159–167  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

157
158 #[test]
159 fn with_org_override() {
160 let cmd = TeamDelete {
161 slug: "target-team".to_string(),
162 force: false,
163 org: Some("acme-corp".to_string()),
164 };
165 assert_eq!(cmd.slug, "target-team");
166 assert_eq!(cmd.org.as_deref(), Some("acme-corp"));
167 }
168
169 #[test]
170 fn force_and_org_combined() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected