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

Function test_error_source_io

atomic-core/src/output/repo/repository/tests.rs:526–533  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

524
525 #[test]
526 fn test_error_source_io() {
527 use std::error::Error;
528
529 let io_err = std::io::Error::other("test");
530 let err: MaterializeError<std::io::Error> = MaterializeError::Io(io_err);
531
532 assert!(err.source().is_some());
533 }
534
535 #[test]
536 fn test_error_source_change_store() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected