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

Function test_branch_not_found

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

Source from the content-addressed store, hash-verified

782
783 #[test]
784 fn test_branch_not_found() {
785 let branch_id = BranchId::new(NodeId::new(1), 0);
786 let err = ApplyError::branch_not_found(branch_id);
787 assert!(err.is_not_found());
788 assert!(err.to_string().contains("branch not found"));
789 }
790
791 #[test]
792 fn test_leaf_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected