mirror of
https://github.com/casey/just.git
synced 2024-11-23 11:04:09 +03:00
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();
|
||
|
}
|