diff --git a/article_scraper/src/full_text_parser/tests.rs b/article_scraper/src/full_text_parser/tests.rs index b111fcd..8921ce9 100644 --- a/article_scraper/src/full_text_parser/tests.rs +++ b/article_scraper/src/full_text_parser/tests.rs @@ -281,7 +281,7 @@ Foto: IMAGO/Vaclav SalekĀ / IMAGO/CTK Photo #[test] fn extract_thumbnail_a_chacon() { - let html = std::fs::read_to_string(format!("./resources/tests/thumbnails/a-chacon.html")) + let html = std::fs::read_to_string("./resources/tests/thumbnails/a-chacon.html") .expect("Failed to read source HTML"); let doc = FullTextParser::parse_html_string_patched(&html).unwrap(); let ctx = Context::new(&doc).unwrap();