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

Function fields_default

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

Source from the content-addressed store, hash-verified

153
154 #[test]
155 fn fields_default() {
156 let cmd = ProjectDelete {
157 slug: "ws/proj".to_string(),
158 org: None,
159 force: false,
160 };
161 assert_eq!(cmd.slug, "ws/proj");
162 assert!(!cmd.force);
163 assert!(cmd.org.is_none());
164 }
165
166 #[test]
167 fn fields_with_force_and_org() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected