summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_eunit.erl3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/rebar_prv_eunit.erl b/src/rebar_prv_eunit.erl
index 4078aa7..b9ac6b8 100644
--- a/src/rebar_prv_eunit.erl
+++ b/src/rebar_prv_eunit.erl
@@ -346,7 +346,8 @@ resolve_eunit_opts(State) ->
true -> set_verbose(EUnitOpts);
false -> EUnitOpts
end,
- case proplists:get_value(eunit_formatters, EUnitOpts1, true) of
+ IsVerbose = lists:member(verbose, EUnitOpts1),
+ case proplists:get_value(eunit_formatters, EUnitOpts1, not IsVerbose) of
true -> custom_eunit_formatters(EUnitOpts1);
false -> EUnitOpts1
end.