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

Source from the content-addressed store, hash-verified

555
556#[test]
557fn test_rename_not_found() {
558 let (_dir, fs) = temp_fs();
559 let result = fs.rename("nonexistent", "new_name");
560 assert!(result.is_err());
561}
562
563// ------------------------------------------------------------------------
564// Permissions

Callers

nothing calls this directly

Calls 2

temp_fsFunction · 0.85
renameMethod · 0.45

Tested by

no test coverage detected