2
0
mirror of https://github.com/Y2Z/monolith synced 2024-11-10 19:10:29 +00:00

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::*;
#[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"));