We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1e7d09d + 4fc1092 commit 2efce72Copy full SHA for 2efce72
gix-command/tests/command.rs
@@ -446,7 +446,6 @@ mod spawn {
446
use bstr::ByteSlice;
447
448
#[test]
449
- #[cfg(unix)]
450
fn environment_variables_are_passed_one_by_one() -> crate::Result {
451
let out = gix_command::prepare("echo $FIRST $SECOND")
452
.env("FIRST", "first")
@@ -459,10 +458,9 @@ mod spawn {
459
458
}
460
461
462
463
fn disallow_shell() -> crate::Result {
464
let out = gix_command::prepare("PATH= echo hi")
465
- .command_may_be_shell_script()
+ .command_may_be_shell_script_disallow_manual_argument_splitting()
466
.spawn()?
467
.wait_with_output()?;
468
assert_eq!(out.stdout.as_bstr(), "hi\n");
0 commit comments