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

Function test_storage_error

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

Source from the content-addressed store, hash-verified

895
896 #[test]
897 fn test_storage_error() {
898 let pristine_err = PristineError::ViewNotFound {
899 name: "test".to_string(),
900 };
901 let err = ApplyError::storage(pristine_err, "testing");
902 assert!(err.is_storage_error());
903 assert!(err.to_string().contains("testing"));
904 }
905
906 #[test]
907 fn test_internal_error() {

Callers

nothing calls this directly

Calls 1

storageFunction · 0.85

Tested by

no test coverage detected