From e2ab05a3236ce068958632c45be8be05b65e10ed Mon Sep 17 00:00:00 2001 From: Vincent Flyson Date: Sat, 24 Aug 2019 12:06:03 -0400 Subject: [PATCH] Fix name of a test function --- src/http.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/http.rs b/src/http.rs index f13baf4..319b98b 100644 --- a/src/http.rs +++ b/src/http.rs @@ -79,7 +79,7 @@ mod tests { use super::*; #[test] - fn test_is_url() { + fn test_is_valid_url() { assert!(is_valid_url("https://www.rust-lang.org/")); assert!(is_valid_url("http://kernel.org")); assert!(!is_valid_url("./index.html"));