()
| 446 | |
| 447 | #[test] |
| 448 | fn test_remove_file() { |
| 449 | let (dir, fs) = temp_fs(); |
| 450 | std::fs::write(dir.path().join("file.txt"), "content").unwrap(); |
| 451 | |
| 452 | fs.remove_path("file.txt", false).unwrap(); |
| 453 | assert!(!dir.path().join("file.txt").exists()); |
| 454 | } |
| 455 | |
| 456 | #[test] |
| 457 | fn test_remove_empty_directory() { |
nothing calls this directly
no test coverage detected