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

Function fields_with_force_and_org

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

Source from the content-addressed store, hash-verified

165
166 #[test]
167 fn fields_with_force_and_org() {
168 let cmd = ProjectDelete {
169 slug: "team/backend".to_string(),
170 org: Some("acme".to_string()),
171 force: true,
172 };
173 assert_eq!(cmd.slug, "team/backend");
174 assert!(cmd.force);
175 assert_eq!(cmd.org.as_deref(), Some("acme"));
176 }
177
178 #[tokio::test]
179 async fn missing_project_is_rejected_before_confirmation() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected