mirror of
https://github.com/watchexec/watchexec.git
synced 2024-09-29 22:51:33 +02:00
Don't rely on bash being installed for windows tests
This commit is contained in:
parent
3485bd7e16
commit
73eef67206
@ -187,8 +187,8 @@ mod test {
|
|||||||
|
|
||||||
#[test]
|
#[test]
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
fn windows_shell_bash() -> Result<(), std::io::Error> {
|
fn windows_shell_unix_style_powershell() -> Result<(), std::io::Error> {
|
||||||
assert!(Shell::Unix("bash".into())
|
assert!(Shell::Unix("powershell.exe".into())
|
||||||
.to_command(&["echo".into(), "hi".into()])
|
.to_command(&["echo".into(), "hi".into()])
|
||||||
.group_status()?
|
.group_status()?
|
||||||
.success());
|
.success());
|
||||||
|
Loading…
Reference in New Issue
Block a user