()
| 204 | |
| 205 | #[test] |
| 206 | fn test_write_section() { |
| 207 | // Fake content folder |
| 208 | // named uniquely to avoid |
| 209 | // parallel test failures. |
| 210 | let output_path = Path::new("section_content/learn"); |
| 211 | |
| 212 | let result: anyhow::Result<()> = write_section(output_path); |
| 213 | assert!(result.is_ok()); |
| 214 | |
| 215 | // Clean up after tests |
| 216 | fs::remove_dir_all("section_content").unwrap(); |
| 217 | } |
| 218 | |
| 219 | #[test] |
| 220 | fn test_write_pages() { |
nothing calls this directly
no test coverage detected