diff --git a/tests/by-util/test_cat.rs b/tests/by-util/test_cat.rs index a721adf4643..1f228226d7d 100644 --- a/tests/by-util/test_cat.rs +++ b/tests/by-util/test_cat.rs @@ -524,7 +524,7 @@ fn test_dev_full_show_all() { /// fallback inside `write_fast`, the other splice succeeds, in effect /// without additional flush output gets reversed. #[test] -#[cfg(any(target_os = "linux"))] +#[cfg(target_os = "linux")] fn test_write_fast_fallthrough_uses_flush() { const PROC_INIT_CMDLINE: &str = "/proc/1/cmdline";