()
| 836 | |
| 837 | #[test] |
| 838 | fn test_conflict_delete_modify() { |
| 839 | let branch = BranchId::new(NodeId::new(1), 0); |
| 840 | |
| 841 | let conflict = CrdtConflict::delete_modify( |
| 842 | ConflictEntity::Branch(branch), |
| 843 | ConflictEntity::Branch(branch), |
| 844 | ); |
| 845 | |
| 846 | assert_eq!(conflict.kind(), ConflictKind::DeleteModify); |
| 847 | assert!(conflict.requires_user_action()); |
| 848 | } |
| 849 | |
| 850 | #[test] |
| 851 | fn test_conflict_duplicate_path() { |