Skip to content

Commit 55623c1

Browse files
KevinLiddleJosé Valim
authored andcommitted
always remove unmatched beam files when compiling
1 parent 2e34828 commit 55623c1

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

lib/mix/test/mix/tasks/compile.elixir_test.exs

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,13 +37,8 @@ defmodule Mix.Tasks.Compile.ElixirTest do
3737
assert Mix.Tasks.Compile.Elixir.run([]) == :ok
3838
assert File.regular?("ebin/Elixir.A.beam")
3939

40-
# Now we have a noop
4140
File.rm!("lib/a.ex")
42-
assert Mix.Tasks.Compile.Elixir.run([]) == :noop
43-
44-
# --force
45-
purge [A, B, C]
46-
assert Mix.Tasks.Compile.Elixir.run(["--force"]) == :ok
41+
assert Mix.Tasks.Compile.Elixir.run([]) == :ok
4742
refute File.regular?("ebin/Elixir.A.beam")
4843
end
4944
end

0 commit comments

Comments
 (0)