diff --git a/src/utils/fmt.rs b/src/utils/fmt.rs index 0b069c9..12c42bc 100644 --- a/src/utils/fmt.rs +++ b/src/utils/fmt.rs @@ -205,6 +205,7 @@ mod tests { } #[test] + #[cfg(any(target_os = "unix", target_os = "linux", target_os = "macos"))] fn test_utils_fmt_path_elide() { let p: &Path = &Path::new("/develop/pippo"); // Under max size