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

Function test_working_copy_error

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

Source from the content-addressed store, hash-verified

391
392 #[test]
393 fn test_working_copy_error() {
394 let err = OutputError::working_copy(std::io::Error::new(
395 std::io::ErrorKind::PermissionDenied,
396 "access denied",
397 ));
398
399 assert!(err.is_working_copy());
400 assert!(err.to_string().contains("Working copy"));
401 }
402
403 #[test]
404 fn test_change_store_error() {

Callers

nothing calls this directly

Calls 1

working_copyFunction · 0.50

Tested by

no test coverage detected