just/tests/windows_powershell.rs

19 lines
288 B
Rust
Raw Normal View History

2022-01-18 11:02:15 -08:00
use crate::common::*;
#[test]
fn windows_poweshell_setting_uses_powershell() {
Test::new()
.justfile(
r#"
set windows-powershell
foo:
Write-Output bar
"#,
)
.shell(false)
.stdout("bar\r\n")
.stderr("Write-Output bar\n")
.run();
}