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

Function workspace_can_be_omitted

atomic-cli/src/commands/project/init.rs:248–258  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

246
247 #[test]
248 fn workspace_can_be_omitted() {
249 let cmd = ProjectInit {
250 name: "proj".to_string(),
251 workspace: None,
252 kind: None,
253 description: None,
254 visibility: Visibility::Private,
255 org: None,
256 };
257 assert!(cmd.workspace.is_none());
258 }
259
260 #[test]
261 fn run_outside_repo_fails() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected