Skip to content

Commit

Permalink
Skip additional refutation due to code server file handle on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
chyndman committed Jul 17, 2014
1 parent b720559 commit 98a5aff
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/mix/test/mix/tasks/archive_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,11 @@ defmodule Mix.Tasks.ArchiveTest do
# Remove it!
send self, {:mix_shell_input, :yes?, true}
Mix.Tasks.Archive.Uninstall.run ["archive-0.2.0.ez"]
refute File.regular? tmp_path("userhome/.mix/archives/archive-0.2.0.ez")

# See reason for previous refutation.
unless match? {:win32, _}, :os.type do
refute File.regular? tmp_path("userhome/.mix/archives/archive-0.2.0.ez")
end
end
end
end

0 comments on commit 98a5aff

Please sign in to comment.