()
| 468 | |
| 469 | #[test] |
| 470 | fn test_remove_file() { |
| 471 | let (dir, fs) = temp_fs(); |
| 472 | std::fs::write(dir.path().join("file.txt"), "content").unwrap(); |
| 473 | |
| 474 | fs.remove_path("file.txt", false).unwrap(); |
| 475 | assert!(!dir.path().join("file.txt").exists()); |
| 476 | } |
| 477 | |
| 478 | #[test] |
| 479 | fn test_remove_empty_directory() { |
nothing calls this directly
no test coverage detected