diff --git a/src/lib-rust/src/file_rotate.rs b/src/lib-rust/src/file_rotate.rs index 86312ca0..c6c3f772 100644 --- a/src/lib-rust/src/file_rotate.rs +++ b/src/lib-rust/src/file_rotate.rs @@ -144,6 +144,7 @@ Line 28: Hello World! assert_eq!(content.trim(), expected.trim()); } +#[cfg(windows)] #[test] fn test_file_rotate_case_insensitive() { let tmpdir = tempfile::tempdir().unwrap();