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

Function with_org_override

atomic-cli/src/commands/org/upgrade.rs:149–156  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

147
148 #[test]
149 fn with_org_override() {
150 let cmd = OrgUpgrade {
151 slug: Some("target-org".to_string()),
152 org: Some("client-org".to_string()),
153 };
154 assert_eq!(cmd.slug.as_deref(), Some("target-org"));
155 assert_eq!(cmd.org.as_deref(), Some("client-org"));
156 }
157
158 #[test]
159 fn slug_defaults_to_none() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected