Skip to content

Commit 34d0bcb

Browse files
committed
feat(test); Add arg_line support to Execs
1 parent 1c82fe4 commit 34d0bcb

File tree

1 file changed

+6
-0
lines changed
  • crates/cargo-test-support/src

1 file changed

+6
-0
lines changed

crates/cargo-test-support/src/lib.rs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1524,6 +1524,12 @@ impl ArgLineCommandExt for &mut ProcessBuilder {
15241524
}
15251525
}
15261526

1527+
impl ArgLineCommandExt for &mut Execs {
1528+
fn arg<S: AsRef<std::ffi::OsStr>>(self, s: S) -> Self {
1529+
self.arg(s)
1530+
}
1531+
}
1532+
15271533
impl ArgLineCommandExt for snapbox::cmd::Command {
15281534
fn arg<S: AsRef<std::ffi::OsStr>>(self, s: S) -> Self {
15291535
self.arg(s)

0 commit comments

Comments
 (0)