Skip to content

Commit 14f0625

Browse files
author
José Valim
committed
Remove : from mix path helpers to avoid issues on Windows
1 parent d76c358 commit 14f0625

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/test/test_helper.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,15 +61,15 @@ defmodule MixTest.Case do
6161
end
6262

6363
def fixture_path(extension) do
64-
Path.join(fixture_path(), extension)
64+
Path.join(fixture_path(), extension |> to_string() |> String.replace(":", ""))
6565
end
6666

6767
def tmp_path do
6868
Path.expand("../tmp", __DIR__)
6969
end
7070

7171
def tmp_path(extension) do
72-
Path.join(tmp_path(), to_string(extension))
72+
Path.join(tmp_path(), extension |> to_string() |> String.replace(":", ""))
7373
end
7474

7575
def purge(modules) do

0 commit comments

Comments
 (0)