cargo fmt
This commit is contained in:
parent
bcbdd4729b
commit
7fc55414ee
2 changed files with 4 additions and 4 deletions
|
|
@ -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!"),
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -258,7 +258,7 @@ impl YtDlp {
|
|||
"--force-overwrites",
|
||||
"--no-exec",
|
||||
],
|
||||
&file
|
||||
&file,
|
||||
)
|
||||
.await?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue