Fix name of a test function

This commit is contained in:
Vincent Flyson 2019-08-24 12:06:03 -04:00
parent d51221a58f
commit e2ab05a323

View File

@ -79,7 +79,7 @@ mod tests {
use super::*; use super::*;
#[test] #[test]
fn test_is_url() { fn test_is_valid_url() {
assert!(is_valid_url("https://www.rust-lang.org/")); assert!(is_valid_url("https://www.rust-lang.org/"));
assert!(is_valid_url("http://kernel.org")); assert!(is_valid_url("http://kernel.org"));
assert!(!is_valid_url("./index.html")); assert!(!is_valid_url("./index.html"));