diff --git a/tauri/src/file_system.rs b/tauri/src/file_system.rs index c05790722..dafb2c446 100644 --- a/tauri/src/file_system.rs +++ b/tauri/src/file_system.rs @@ -135,7 +135,7 @@ mod test { } #[test] - #[cfg(not(target_os = "linux"))] + #[cfg(not(any(target_os = "linux", target_os = "macos")))] // test the file_write functionality fn test_write_to_file() -> crate::Result<()> { // import read_to_string and write to be able to manipulate the file.