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

Function test_error_display_io

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

Source from the content-addressed store, hash-verified

1518
1519 #[test]
1520 fn test_error_display_io() {
1521 let io_err = std::io::Error::new(std::io::ErrorKind::NotFound, "file not found");
1522 let err: FileOutputError<std::io::Error> = FileOutputError::Io(io_err);
1523 let display = format!("{}", err);
1524
1525 assert!(display.contains("I/O error"));
1526 }
1527
1528 #[test]
1529 fn test_error_display_working_copy() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected