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

Function test_all_flag_and_legacy_alias

atomic-cli/src/commands/git/import.rs:3618–3624  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3616
3617 #[test]
3618 fn test_all_flag_and_legacy_alias() {
3619 let import = Import::try_parse_from(["import", "--all"]).unwrap();
3620 assert!(import.all_branches);
3621
3622 let import = Import::try_parse_from(["import", "--all-branches"]).unwrap();
3623 assert!(import.all_branches);
3624 }
3625
3626 #[test]
3627 fn test_with_crdt_flag_defaults_to_graph_only() {

Callers

nothing calls this directly

Calls 1

unwrapMethod · 0.45

Tested by

no test coverage detected