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

Function test_rename_not_found

atomic-core/src/output/filesystem/tests.rs:535–539  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

533
534#[test]
535fn test_rename_not_found() {
536 let (_dir, fs) = temp_fs();
537 let result = fs.rename("nonexistent", "new_name");
538 assert!(result.is_err());
539}
540
541// ------------------------------------------------------------------------
542// Permissions

Callers

nothing calls this directly

Calls 2

temp_fsFunction · 0.85
renameMethod · 0.45

Tested by

no test coverage detected