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

Function test_trunk_not_found

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

Source from the content-addressed store, hash-verified

773
774 #[test]
775 fn test_trunk_not_found() {
776 let trunk_id = TrunkId::new(NodeId::new(1), 0);
777 let err = ApplyError::trunk_not_found(trunk_id);
778 assert!(err.is_not_found());
779 assert!(!err.is_already_exists());
780 assert!(err.to_string().contains("trunk not found"));
781 }
782
783 #[test]
784 fn test_branch_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected