zola/components/link_checker
Sam Ford 2f1b592ab4 link_checker: Handle non-success status codes (#897)
The can_fail_404_links() test doesn't encounter a 404 response in
actuality, since the google.comys domain doesn't resolve. When the
test is updated such that the response's status code is a 404, the
test fails because the check_url() function doesn't handle
non-success responses how the test's assertions expect. This commit
updates check_url() to handle non-success responses, treating them
much like errors.
2020-02-02 17:48:43 -08:00
..
src link_checker: Handle non-success status codes (#897) 2020-02-02 17:48:43 -08:00
Cargo.toml Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00