We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b05fec0 commit 13846bdCopy full SHA for 13846bd
1 file changed
lib/mix/lib/mix/tasks/test.ex
@@ -714,7 +714,8 @@ defmodule Mix.Tasks.Test do
714
cover && cover.()
715
716
cond do
717
- warnings_as_errors? and (warnings? or helper_warned?) and failures == 0 ->
+ warnings_as_errors? and (warnings? or helper_warned? or warn_files != []) and
718
+ failures == 0 ->
719
message =
720
"\nERROR! Test suite aborted after successful execution due to warnings while using the --warnings-as-errors option"
721
0 commit comments