Run cargo fmt

This commit is contained in:
Vicki Pfau 2024-08-21 22:37:09 -07:00
parent 95e4e30fdc
commit eb7a136834

View file

@ -28,7 +28,10 @@ pub async fn script_exit_code(
} }
#[cfg(test)] #[cfg(test)]
pub async fn script_exit_code(executable: impl AsRef<OsStr>, args: &[impl AsRef<OsStr>]) -> Result<i32> { pub async fn script_exit_code(
executable: impl AsRef<OsStr>,
args: &[impl AsRef<OsStr>],
) -> Result<i32> {
let test = crate::testing::current(); let test = crate::testing::current();
let args: Vec<&OsStr> = args.iter().map(|arg| arg.as_ref()).collect(); let args: Vec<&OsStr> = args.iter().map(|arg| arg.as_ref()).collect();
let cb = test.process_cb.get(); let cb = test.process_cb.get();