Skip to content

Commit 15a941e

Browse files
committed
Fix heisentest
1 parent a568869 commit 15a941e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

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

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1867,7 +1867,10 @@ defmodule Mix.Tasks.Compile.ElixirTest do
18671867
""")
18681868

18691869
Mix.Project.push(MixTest.Case.Sample)
1870-
assert Mix.Tasks.Compile.run([]) == {:ok, []}
1870+
1871+
# At this point, it may or may not emit warnings, but we don't care,
1872+
# we validate both scenarios next.
1873+
assert {:ok, _} = Mix.Tasks.Compile.run([])
18711874
assert is_function(Collectable.into(struct(A, [])), 2)
18721875

18731876
purge([A, B, Collectable.A])

0 commit comments

Comments
 (0)