From 3bdd2dbef7bcc342a9dfc8df0623766432b5dcaa Mon Sep 17 00:00:00 2001 From: FredApps <153173854+FredApps@users.noreply.github.com> Date: Thu, 26 Nov 2026 23:56:31 +0100 Subject: [PATCH] test(cli): the non-Unicode path test skips macOS, whose file system refuses such names --- crates/cli/tests/it/cli.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/cli/tests/it/cli.rs b/crates/cli/tests/it/cli.rs index dade1aae..09536994 100644 --- a/crates/cli/tests/it/cli.rs +++ b/crates/cli/tests/it/cli.rs @@ -240,8 +240,8 @@ fn an_output_never_replaces_its_input_unless_in_place_is_given() { } /// A path that is not valid Unicode reaches the command: a document is read from it, and the -/// engine's JSON-valued commands say so by name. -#[cfg(unix)] +/// engine's JSON-valued commands say so by name. (macOS refuses such a file name, so it runs elsewhere.) +#[cfg(all(unix, not(target_os = "macos")))] #[test] fn a_path_that_is_not_unicode_is_a_path_not_a_panic() { use std::ffi::OsString;