()
| 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() { |