Skip to content

Commit 871e737

Browse files
committed
Fix heisentest
1 parent 3785e6f commit 871e737

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/mix/test/mix/umbrella_test.exs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -371,7 +371,7 @@ defmodule Mix.UmbrellaTest do
371371
end)
372372
end
373373

374-
test "recompiles when path dependencies change" do
374+
test "recompiles when compile-time path dependencies change" do
375375
in_fixture("umbrella_dep/deps/umbrella/apps", fn ->
376376
Mix.Project.in_project(:bar, "bar", fn _ ->
377377
Mix.Task.run("compile", [])
@@ -385,7 +385,7 @@ defmodule Mix.UmbrellaTest do
385385

386386
# Compile-time dependencies are recompiled
387387
File.write!("../foo/lib/foo.ex", File.read!("../foo/lib/foo.ex") <> "\n")
388-
ensure_touched("../foo/lib/foo.ex", "_build/dev/lib/foo/.mix/compile.elixir")
388+
ensure_touched("../foo/lib/foo.ex", "_build/dev/lib/bar/.mix/compile.elixir")
389389

390390
Mix.Task.clear()
391391
assert Mix.Task.run("compile", ["--verbose"]) == {:ok, []}

0 commit comments

Comments
 (0)