1
0
Fork 0
mirror of https://gitlab.com/news-flash/article_scraper.git synced 2025-07-07 08:05:31 +02:00

remove useless format!

This commit is contained in:
Jan Lukas Gernert 2024-11-02 11:34:47 +01:00
parent 11ee29feda
commit 7fcb781c68

View file

@ -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();