mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-07 16:15:32 +02:00
remove useless format!
This commit is contained in:
parent
11ee29feda
commit
7fcb781c68
1 changed files with 1 additions and 1 deletions
|
@ -281,7 +281,7 @@ Foto: IMAGO/Vaclav Salek / IMAGO/CTK Photo
|
||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
fn extract_thumbnail_a_chacon() {
|
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");
|
.expect("Failed to read source HTML");
|
||||||
let doc = FullTextParser::parse_html_string_patched(&html).unwrap();
|
let doc = FullTextParser::parse_html_string_patched(&html).unwrap();
|
||||||
let ctx = Context::new(&doc).unwrap();
|
let ctx = Context::new(&doc).unwrap();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue