diff --git a/src/process.rs b/src/process.rs index 1fa457e..865ce89 100644 --- a/src/process.rs +++ b/src/process.rs @@ -28,7 +28,10 @@ pub async fn script_exit_code( } #[cfg(test)] -pub async fn script_exit_code(executable: impl AsRef, args: &[impl AsRef]) -> Result { +pub async fn script_exit_code( + executable: impl AsRef, + args: &[impl AsRef], +) -> Result { let test = crate::testing::current(); let args: Vec<&OsStr> = args.iter().map(|arg| arg.as_ref()).collect(); let cb = test.process_cb.get();