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

Function test_content_out_of_bounds

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

Source from the content-addressed store, hash-verified

880
881 #[test]
882 fn test_content_out_of_bounds() {
883 let err = ApplyError::content_out_of_bounds(100, 200, 50);
884 assert!(err.is_content_error());
885 assert!(err.to_string().contains("100"));
886 assert!(err.to_string().contains("200"));
887 assert!(err.to_string().contains("50"));
888 }
889
890 #[test]
891 fn test_invalid_content() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected