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

Function test_rename_not_found

atomic-core/src/output/memory.rs:1020–1024  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1018
1019 #[test]
1020 fn test_rename_not_found() {
1021 let wc = Memory::new();
1022 let result = wc.rename("nonexistent", "new");
1023 assert!(matches!(result, Err(MemoryError::NotFound { .. })));
1024 }
1025
1026 #[test]
1027 fn test_set_permissions() {

Callers

nothing calls this directly

Calls 1

renameMethod · 0.45

Tested by

no test coverage detected