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

Function test_leaf_not_found

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

Source from the content-addressed store, hash-verified

790
791 #[test]
792 fn test_leaf_not_found() {
793 let leaf_id = LeafId::new(NodeId::new(1), 0);
794 let err = ApplyError::leaf_not_found(leaf_id);
795 assert!(err.is_not_found());
796 assert!(err.to_string().contains("leaf not found"));
797 }
798
799 #[test]
800 fn test_path_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected