19 lines
302 B
Rust
19 lines
302 B
Rust
|
use crate::common::*;
|
||
|
|
||
|
#[test]
|
||
|
fn windows_shell_setting() {
|
||
|
Test::new()
|
||
|
.justfile(
|
||
|
r#"
|
||
|
set windows-shell := ["pwsh.exe", "-NoLogo", "-Command"]
|
||
|
|
||
|
foo:
|
||
|
Write-Output bar
|
||
|
"#,
|
||
|
)
|
||
|
.shell(false)
|
||
|
.stdout("bar\r\n")
|
||
|
.stderr("Write-Output bar\n")
|
||
|
.run();
|
||
|
}
|