From c8ff504bf5e8f0bd7feecbb991f795ce302b77b2 Mon Sep 17 00:00:00 2001 From: Zhenping Zhao Date: Wed, 20 Nov 2024 23:45:09 -0800 Subject: [PATCH] convert_relative_forward_slashes_absolute() only run on windows. --- guppy/src/graph/build.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/guppy/src/graph/build.rs b/guppy/src/graph/build.rs index 39fe8dcbda6..0c896081c1d 100644 --- a/guppy/src/graph/build.rs +++ b/guppy/src/graph/build.rs @@ -1060,6 +1060,7 @@ mod tests { assert_eq!(path.as_str(), "../../foo/bar/baz.txt"); } + #[cfg(windows)] #[test] fn test_convert_relative_forward_slashes_absolute() { let components = vec![r"D:\", "X", "..", "foo", "bar", "baz.txt"];