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

Function test_error_from_change_error

atomic-core/src/change/store.rs:594–598  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

592
593 #[test]
594 fn test_error_from_change_error() {
595 let change_err = ChangeError::Invalid("test".to_string());
596 let store_err: MemoryStoreError = change_err.into();
597 assert!(matches!(store_err, MemoryStoreError::ChangeError(_)));
598 }
599
600 // ------------------------------------------------------------------------
601 // MemoryChangeStore Basic Tests

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected