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

Function test_invalid_leaf_state

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

Source from the content-addressed store, hash-verified

852
853 #[test]
854 fn test_invalid_leaf_state() {
855 let leaf_id = LeafId::new(NodeId::new(1), 0);
856 let err = ApplyError::invalid_leaf_state(leaf_id, "deleted", "replace");
857 assert!(err.is_invalid_state());
858 }
859
860 #[test]
861 fn test_insertion_position_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected