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

Function test_leaf_already_exists

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

Source from the content-addressed store, hash-verified

821
822 #[test]
823 fn test_leaf_already_exists() {
824 let leaf_id = LeafId::new(NodeId::new(1), 0);
825 let err = ApplyError::leaf_already_exists(leaf_id);
826 assert!(err.is_already_exists());
827 }
828
829 #[test]
830 fn test_path_already_exists() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected