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

Function test_conflict_delete_modify

atomic-core/src/crdt/apply/conflict.rs:838–848  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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() {

Callers

nothing calls this directly

Calls 1

BranchClass · 0.85

Tested by

no test coverage detected