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

Function test_circular_reference

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

Source from the content-addressed store, hash-verified

867
868 #[test]
869 fn test_circular_reference() {
870 let err = ApplyError::circular_reference("branch ordering cycle");
871 assert!(err.is_ordering_error());
872 assert!(err.to_string().contains("circular"));
873 }
874
875 #[test]
876 fn test_ordering_violation() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected