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

Function test_error_source_io

atomic-core/src/output/repo/error.rs:469–476  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

467
468 #[test]
469 fn test_error_source_io() {
470 let err = OutputError::io(std::io::Error::new(
471 std::io::ErrorKind::NotFound,
472 "not found",
473 ));
474
475 assert!(err.source().is_some());
476 }
477
478 #[test]
479 fn test_error_source_path_not_found() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected