Don't rely on bash being installed for windows tests

This commit is contained in:
Félix Saparelli 2021-07-22 00:47:02 +12:00
parent 3485bd7e16
commit 73eef67206
No known key found for this signature in database
GPG Key ID: B948C4BAE44FC474
1 changed files with 2 additions and 2 deletions

View File

@ -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());