From f5218bc58266ae1aa1a35df843a9a0ebb991a35f Mon Sep 17 00:00:00 2001 From: veeso Date: Sun, 24 Jan 2021 11:48:00 +0100 Subject: [PATCH] test_utils_fmt_path_elide: don't run on windows --- src/utils/fmt.rs | 1 + 1 file changed, 1 insertion(+) 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