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

Function test_switch_with_name

atomic-cli/src/commands/view/switch.rs:408–411  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

406
407 #[test]
408 fn test_switch_with_name() {
409 let cmd = Switch::with_name("feature-auth");
410 assert_eq!(cmd.name, Some("feature-auth".to_string()));
411 }
412
413 #[test]
414 fn test_default() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected