Fix name of a test function
This commit is contained in:
parent
d51221a58f
commit
e2ab05a323
@ -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"));
|
||||||
|
Loading…
Reference in New Issue
Block a user