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

Function test_solve_name_conflict

atomic-core/src/change/graph_op.rs:753–761  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

751
752 #[test]
753 fn test_solve_name_conflict() {
754 let graph_op: GraphOp<Hash> = GraphOp::SolveNameConflict {
755 name: test_edge_map(),
756 path: "conflicted.txt".to_string(),
757 };
758
759 assert!(graph_op.is_conflict_resolution());
760 assert_eq!(graph_op.path(), Some("conflicted.txt"));
761 }
762
763 #[test]
764 fn test_add_root() {

Callers

nothing calls this directly

Calls 1

test_edge_mapFunction · 0.85

Tested by

no test coverage detected