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

Function test_invalid_branch_state

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

Source from the content-addressed store, hash-verified

845
846 #[test]
847 fn test_invalid_branch_state() {
848 let branch_id = BranchId::new(NodeId::new(1), 0);
849 let err = ApplyError::invalid_branch_state(branch_id, "alive", "restore");
850 assert!(err.is_invalid_state());
851 }
852
853 #[test]
854 fn test_invalid_leaf_state() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected