mirror of
https://github.com/nushell/nushell.git
synced 2024-11-08 01:24:38 +01:00
Limit run-external --redirect-combine sh
test to not(Windows) (#10905)
# Description Limit the test `-p nu-command --test main commands::run_external::redirect_combine` which uses `sh` to running on `not(Windows)` like is done for other tests assuming unixy CLI items; `sh` doesn't exist on Windows. # User-Facing Changes None; this is a change to tests only. # Tests + Formatting - 🟢 `toolkit fmt` - 🟢 `toolkit clippy` - 🟢 `toolkit test` - 🟢 `toolkit test stdlib`
This commit is contained in:
parent
1874082a2c
commit
9b202d560d
@ -321,6 +321,7 @@ fn quotes_trimmed_when_shelling_out() {
|
|||||||
assert_eq!(actual.out, "foo");
|
assert_eq!(actual.out, "foo");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(not(windows))]
|
||||||
#[test]
|
#[test]
|
||||||
fn redirect_combine() {
|
fn redirect_combine() {
|
||||||
Playground::setup("redirect_combine", |dirs, _| {
|
Playground::setup("redirect_combine", |dirs, _| {
|
||||||
|
Loading…
Reference in New Issue
Block a user