MCPcopy Create free account
hub / github.com/bevyengine/bevy-website / test_write_section

Function test_write_section

generate-errors/src/lib.rs:206–217  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 1

write_sectionFunction · 0.85

Tested by

no test coverage detected