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

Function test_error_display_graph

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

Source from the content-addressed store, hash-verified

1497
1498 #[test]
1499 fn test_error_display_graph() {
1500 let err: FileOutputError<std::io::Error> =
1501 FileOutputError::Graph(crate::pristine::PristineError::ViewNotFound {
1502 name: "test".to_string(),
1503 });
1504 let display = format!("{}", err);
1505
1506 assert!(display.contains("Graph error"));
1507 }
1508
1509 #[test]
1510 fn test_error_display_change_store() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected