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

Function test_new_with_name

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

Source from the content-addressed store, hash-verified

596
597 #[test]
598 fn test_new_with_name() {
599 let cmd = New::with_name("feature-auth");
600 assert_eq!(cmd.name, Some("feature-auth".to_string()));
601 assert!(!cmd.switch);
602 assert!(!cmd.empty);
603 }
604
605 #[test]
606 fn test_new_with_switch() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected