zola/components
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
..
config Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
errors Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
front_matter Format code using cargo fmt (#896) 2020-02-02 17:48:43 -08:00
imageproc Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
library Format code using cargo fmt (#896) 2020-02-02 17:48:43 -08:00
link_checker link_checker: Handle non-success status codes (#897) 2020-02-02 17:48:43 -08:00
rebuild Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
rendering Format code using cargo fmt (#896) 2020-02-02 17:48:43 -08:00
search Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
site Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
templates Use Rust 2018 edition (#885) 2020-02-02 17:48:43 -08:00
utils Format code using cargo fmt (#896) 2020-02-02 17:48:43 -08:00