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

Function test_default

atomic-cli/src/commands/view/new.rs:622–627  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

620
621 #[test]
622 fn test_default() {
623 let cmd = New::default();
624 assert!(cmd.name.is_none());
625 assert!(!cmd.switch);
626 assert!(!cmd.empty);
627 }
628
629 // -------------------------------------------------------------------------
630 // Error Handling Tests (without repository)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected