cargo fmt

This commit is contained in:
mykola2312 2024-03-31 19:41:11 +03:00
parent bcbdd4729b
commit 7fc55414ee
2 changed files with 4 additions and 4 deletions

View file

@ -98,9 +98,9 @@ pub async fn spawn_pipe(
#[cfg(test)]
mod tests {
use std::fs;
use crate::dl::spawn::{spawn_pipe, SpawnError};
use crate::dl::tmpfile::TmpFile;
use std::fs;
#[tokio::test]
async fn test_spawn_pipe() {
@ -122,8 +122,8 @@ mod tests {
if let Err(e) = result {
match e {
SpawnError::ErrorMessage(msg) => assert_eq!("stderr test", msg),
_ => panic!("SpawnError is not ErrorMessage!")
_ => panic!("SpawnError is not ErrorMessage!"),
}
}
}
}
}

View file

@ -258,7 +258,7 @@ impl YtDlp {
"--force-overwrites",
"--no-exec",
],
&file
&file,
)
.await?;