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

Function slug_defaults_to_none

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

Source from the content-addressed store, hash-verified

157
158 #[test]
159 fn slug_defaults_to_none() {
160 let cmd = OrgUpgrade {
161 slug: None,
162 org: Some("other".to_string()),
163 };
164 assert!(cmd.slug.is_none());
165 assert_eq!(cmd.org.as_deref(), Some("other"));
166 }
167}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected