Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion lib/mix/lib/mix/tasks/test.ex
Original file line number Diff line number Diff line change
Expand Up @@ -714,7 +714,8 @@ defmodule Mix.Tasks.Test do
cover && cover.()

cond do
warnings_as_errors? and (warnings? or helper_warned?) and failures == 0 ->
warnings_as_errors? and (warnings? or helper_warned? or warn_files != []) and
failures == 0 ->
message =
"\nERROR! Test suite aborted after successful execution due to warnings while using the --warnings-as-errors option"

Expand Down
Loading