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

Function test_error_source_graph

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

Source from the content-addressed store, hash-verified

1624
1625 #[test]
1626 fn test_error_source_graph() {
1627 use std::error::Error;
1628
1629 let err: FileOutputError<std::io::Error> =
1630 FileOutputError::Graph(crate::pristine::PristineError::ViewNotFound {
1631 name: "test".to_string(),
1632 });
1633
1634 assert!(err.source().is_some());
1635 }
1636
1637 #[test]
1638 fn test_error_source_io() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected