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

Function test_error_source_io

atomic-core/src/output/repo/file.rs:1638–1645  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1636
1637 #[test]
1638 fn test_error_source_io() {
1639 use std::error::Error;
1640
1641 let io_err = std::io::Error::other("test");
1642 let err: FileOutputError<std::io::Error> = FileOutputError::Io(io_err);
1643
1644 assert!(err.source().is_some());
1645 }
1646
1647 #[test]
1648 fn test_error_source_change_store() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected