Skip to content

Commit

Permalink
convert_relative_forward_slashes_absolute() only run on windows.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zhenping Zhao committed Nov 21, 2024
1 parent a945ac1 commit c8ff504
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions guppy/src/graph/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"];
Expand Down

0 comments on commit c8ff504

Please sign in to comment.