diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 20:59:32 +0200 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-10-14 21:02:12 +0200 |
commit | baffdf885aab7490e1024a73f8ee3ce35817c586 (patch) | |
tree | c2775b605b27cf9293dfdd2e2b933f5c3def26d8 /crates/yt_dlp/src/tests.rs | |
parent | build(scripts/mkdb.sh): Update to use new sql schema path (diff) | |
download | yt-baffdf885aab7490e1024a73f8ee3ce35817c586.tar.gz yt-baffdf885aab7490e1024a73f8ee3ce35817c586.zip |
test(treewide): Fix, so they compile and ignore
The tests are just not in an ideal state right now. Running them via `cargo test` still works, but the `yt_dlp` test simply seem to deadlock?
Diffstat (limited to 'crates/yt_dlp/src/tests.rs')
-rw-r--r-- | crates/yt_dlp/src/tests.rs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/crates/yt_dlp/src/tests.rs b/crates/yt_dlp/src/tests.rs index 08e392f..b48deb4 100644 --- a/crates/yt_dlp/src/tests.rs +++ b/crates/yt_dlp/src/tests.rs @@ -34,10 +34,10 @@ async fn test_extract_info_video() { false, ) .await - .map_err(|err| format!("Encountered error: '{}'", err)) + .map_err(|err| format!("Encountered error: '{err}'")) .unwrap(); - println!("{:#?}", info); + println!("{info:#?}"); } #[tokio::test] @@ -49,10 +49,10 @@ async fn test_extract_info_url() { false, ) .await - .map_err(|err| format!("Encountered error: '{}'", err)) + .map_err(|err| format!("Encountered error: '{err}'")) .unwrap(); - println!("{:#?}", err); + println!("{err:#?}"); } #[tokio::test] @@ -64,10 +64,10 @@ async fn test_extract_info_playlist() { true, ) .await - .map_err(|err| format!("Encountered error: '{}'", err)) + .map_err(|err| format!("Encountered error: '{err}'")) .unwrap(); - println!("{:#?}", err); + println!("{err:#?}"); } #[tokio::test] async fn test_extract_info_playlist_full() { @@ -78,8 +78,8 @@ async fn test_extract_info_playlist_full() { true, ) .await - .map_err(|err| format!("Encountered error: '{}'", err)) + .map_err(|err| format!("Encountered error: '{err}'")) .unwrap(); - println!("{:#?}", err); + println!("{err:#?}"); } |