We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5d60728 commit 55dbd61Copy full SHA for 55dbd61
lib/mix/test/mix/rebar_test.exs
@@ -119,6 +119,12 @@ defmodule Mix.RebarTest do
119
120
assert File.exists?("_build/dev/lib/rebar_dep/ebin/rebar_dep.beam")
121
assert File.exists?("_build/dev/lib/git_rebar/ebin/git_rebar.beam")
122
+
123
+ # Assert we have no .compile.lock as a .compile.lock
124
+ # means we check for the Elixir version on every command.
125
+ refute File.exists?("_build/dev/lib/rebar_dep/.compile.lock")
126
+ refute File.exists?("_build/dev/lib/git_rebar/.compile.lock")
127
128
assert Enum.any?(load_paths, &String.ends_with?(&1, "git_rebar/ebin"))
129
assert Enum.any?(load_paths, &String.ends_with?(&1, "rebar_dep/ebin"))
130
end
0 commit comments