mirror of
https://gitlab.steamos.cloud/holo/steamos-manager.git
synced 2025-07-15 10:46:41 -04:00
Run cargo fmt
This commit is contained in:
parent
95e4e30fdc
commit
eb7a136834
1 changed files with 4 additions and 1 deletions
|
@ -28,7 +28,10 @@ pub async fn script_exit_code(
|
|||
}
|
||||
|
||||
#[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 args: Vec<&OsStr> = args.iter().map(|arg| arg.as_ref()).collect();
|
||||
let cb = test.process_cb.get();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue