Fix name of a test function
This commit is contained in:
parent
d51221a58f
commit
e2ab05a323
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Reference in a new issue