Skip to content

Commit

Permalink
fix invalid test assertion
Browse files Browse the repository at this point in the history
  • Loading branch information
0xpr03 committed Aug 12, 2024
1 parent 8eeb819 commit 7e936fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion daemon/src/crawler/http.rs
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ mod test {
#[test]
fn get_html_gzipped() {
let b_html: String = get("https://httpbin.org/gzip", HeaderType::Html).unwrap();
assert!(true, b_html.contains(r#""gzipped": true"#));
assert!(b_html.contains(r#""gzipped": true"#));
}

/// Test a ajax json get request
Expand Down

0 comments on commit 7e936fa

Please sign in to comment.