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:1529–1535  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1527
1528 #[test]
1529 fn test_error_display_working_copy() {
1530 let io_err = std::io::Error::new(std::io::ErrorKind::PermissionDenied, "access denied");
1531 let err: FileOutputError<std::io::Error> = FileOutputError::WorkingCopy(io_err);
1532 let display = format!("{}", err);
1533
1534 assert!(display.contains("Working copy error"));
1535 }
1536
1537 #[test]
1538 fn test_error_display_position_not_found() {

Callers

nothing calls this directly

Calls 1

WorkingCopyInterface · 0.85

Tested by

no test coverage detected