mirror of
https://gitlab.com/news-flash/article_scraper.git
synced 2025-07-08 08:30:00 +02:00
fix has_single_tag_inside_element & update tests
This commit is contained in:
parent
31a8033844
commit
aea57d0cf3
10 changed files with 86 additions and 39 deletions
|
@ -40,7 +40,7 @@ async fn run_test(name: &str) {
|
|||
article.document = Some(article_document);
|
||||
let html = article.get_content().unwrap();
|
||||
|
||||
std::fs::write("expected.html", &html).unwrap();
|
||||
//std::fs::write("expected.html", &html).unwrap();
|
||||
|
||||
let expected = std::fs::read_to_string(format!(
|
||||
"./resources/tests/readability/{name}/expected.html"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue