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