Skip to content

Commit

Permalink
Fix heisentest
Browse files Browse the repository at this point in the history
  • Loading branch information
josevalim committed Jan 30, 2025
1 parent a568869 commit 15a941e
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/mix/test/mix/tasks/compile.elixir_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -1867,7 +1867,10 @@ defmodule Mix.Tasks.Compile.ElixirTest do
""")

Mix.Project.push(MixTest.Case.Sample)
assert Mix.Tasks.Compile.run([]) == {:ok, []}

# At this point, it may or may not emit warnings, but we don't care,
# we validate both scenarios next.
assert {:ok, _} = Mix.Tasks.Compile.run([])
assert is_function(Collectable.into(struct(A, [])), 2)

purge([A, B, Collectable.A])
Expand Down

0 comments on commit 15a941e

Please sign in to comment.