()
| 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() { |
nothing calls this directly
no test coverage detected