Skip to content

Commit 4fc1092

Browse files
committed
Test environment_variables_are_passed_one_by_one on Windows
This enables the `environment_variables_are_passed_one_by_one` test for `gix-command` on Windows. It was marked to run on Unix-like systems only. But it runs and passes on Windows, requiring no changes. (Possibly it hadn't passed at the time it was introduced.) The `command_may_be_shell_script` call is sufficient even though it does not disable manual argument splitting, because the command used in this test contains `$` (to expand variables in the shell) and is thus already ineligible for manual argument splitting.
1 parent 0e451d0 commit 4fc1092

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

gix-command/tests/command.rs

-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,6 @@ mod spawn {
446446
use bstr::ByteSlice;
447447

448448
#[test]
449-
#[cfg(unix)]
450449
fn environment_variables_are_passed_one_by_one() -> crate::Result {
451450
let out = gix_command::prepare("echo $FIRST $SECOND")
452451
.env("FIRST", "first")

0 commit comments

Comments
 (0)