feat(test); Add arg_line support to Execs

This commit is contained in:
Ed Page 2024-12-18 11:56:37 -06:00
parent 1c82fe420e
commit 34d0bcb3e9

View File

@ -1524,6 +1524,12 @@ impl ArgLineCommandExt for &mut ProcessBuilder {
}
}
impl ArgLineCommandExt for &mut Execs {
fn arg<S: AsRef<std::ffi::OsStr>>(self, s: S) -> Self {
self.arg(s)
}
}
impl ArgLineCommandExt for snapbox::cmd::Command {
fn arg<S: AsRef<std::ffi::OsStr>>(self, s: S) -> Self {
self.arg(s)