You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
youtube-metadata-rs/src/tests/endpoints.rs

11 lines
222 B
Rust

use crate::get_video_information;
#[tokio::test]
async fn invalid_url_is_err() {
assert!(
get_video_information("https://www.youtube.com/watch?v=FFFFFFFFFFF")
.await
.is_err()
);
}