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

Function test_error_display_working_copy

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

Source from the content-addressed store, hash-verified

1287
1288 #[test]
1289 fn test_error_display_working_copy() {
1290 let io_err = std::io::Error::new(std::io::ErrorKind::PermissionDenied, "access denied");
1291 let err: FileOutputError<std::io::Error> = FileOutputError::WorkingCopy(io_err);
1292 let display = format!("{}", err);
1293
1294 assert!(display.contains("Working copy error"));
1295 }
1296
1297 #[test]
1298 fn test_error_display_position_not_found() {

Callers

nothing calls this directly

Calls 1

WorkingCopyInterface · 0.85

Tested by

no test coverage detected