From 73eef6720655c4fcd18c69e932f1637a79d5745c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fe=CC=81lix=20Saparelli?= Date: Thu, 22 Jul 2021 00:47:02 +1200 Subject: [PATCH] Don't rely on bash being installed for windows tests --- lib/src/shell.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/shell.rs b/lib/src/shell.rs index 9ca2530..dbdaa3e 100644 --- a/lib/src/shell.rs +++ b/lib/src/shell.rs @@ -187,8 +187,8 @@ mod test { #[test] #[cfg(windows)] - fn windows_shell_bash() -> Result<(), std::io::Error> { - assert!(Shell::Unix("bash".into()) + fn windows_shell_unix_style_powershell() -> Result<(), std::io::Error> { + assert!(Shell::Unix("powershell.exe".into()) .to_command(&["echo".into(), "hi".into()]) .group_status()? .success());