Skip to content

Commit

Permalink
special case a test for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
fatteneder committed Aug 3, 2024
1 parent 9b62f08 commit 668d2b8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion test/relocatedepot.jl
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,12 @@ if !test_relocated_depot
mktempdir() do dir
pushfirst!(DEPOT_PATH, dir)
path = dir*dir
@test Base.replace_depot_path(path) == "@depot"*dir
if Sys.iswindows()
# dirs start with a drive letter instead of a path separator
@test Base.replace_depot_path(path) == path
else
@test Base.replace_depot_path(path) == "@depot"*dir
end
end
end

Expand Down

0 comments on commit 668d2b8

Please sign in to comment.