Skip to content

Commit 7f4df95

Browse files
author
José Valim
committed
Merge pull request #2553 from chyndman/mix-test-archive-win-refute
Skip additional refutation due to code server file handle on Windows
2 parents b720559 + 98a5aff commit 7f4df95

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/mix/test/mix/tasks/archive_test.exs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,11 @@ defmodule Mix.Tasks.ArchiveTest do
6565
# Remove it!
6666
send self, {:mix_shell_input, :yes?, true}
6767
Mix.Tasks.Archive.Uninstall.run ["archive-0.2.0.ez"]
68-
refute File.regular? tmp_path("userhome/.mix/archives/archive-0.2.0.ez")
68+
69+
# See reason for previous refutation.
70+
unless match? {:win32, _}, :os.type do
71+
refute File.regular? tmp_path("userhome/.mix/archives/archive-0.2.0.ez")
72+
end
6973
end
7074
end
7175
end

0 commit comments

Comments
 (0)