From 9b202d560d0cf25a7dfb8ef45b198ae7a49d80e9 Mon Sep 17 00:00:00 2001 From: Christopher Durham Date: Tue, 7 Nov 2023 03:35:24 -0500 Subject: [PATCH] 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 - :green_circle: `toolkit fmt` - :green_circle: `toolkit clippy` - :green_circle: `toolkit test` - :green_circle: `toolkit test stdlib` --- crates/nu-command/tests/commands/run_external.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/crates/nu-command/tests/commands/run_external.rs b/crates/nu-command/tests/commands/run_external.rs index bd4f7e7df7..4e6130639d 100644 --- a/crates/nu-command/tests/commands/run_external.rs +++ b/crates/nu-command/tests/commands/run_external.rs @@ -321,6 +321,7 @@ fn quotes_trimmed_when_shelling_out() { assert_eq!(actual.out, "foo"); } +#[cfg(not(windows))] #[test] fn redirect_combine() { Playground::setup("redirect_combine", |dirs, _| {