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

Function test_graph_error

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

Source from the content-addressed store, hash-verified

413
414 #[test]
415 fn test_graph_error() {
416 let err = OutputError::graph(std::io::Error::new(
417 std::io::ErrorKind::InvalidData,
418 "corrupted",
419 ));
420
421 assert!(err.is_graph());
422 assert!(err.to_string().contains("Graph"));
423 }
424
425 #[test]
426 fn test_path_not_found() {

Callers

nothing calls this directly

Calls 1

graphFunction · 0.50

Tested by

no test coverage detected