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

Function test_branch_already_exists

atomic-core/src/crdt/apply/error.rs:816–820  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

814
815 #[test]
816 fn test_branch_already_exists() {
817 let branch_id = BranchId::new(NodeId::new(1), 0);
818 let err = ApplyError::branch_already_exists(branch_id);
819 assert!(err.is_already_exists());
820 }
821
822 #[test]
823 fn test_leaf_already_exists() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected