aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit
diff options
context:
space:
mode:
authoreksperimental <[email protected]>2015-02-07 22:05:02 +0700
committereksperimental <[email protected]>2015-02-10 02:10:35 +0700
commit63d9357482d977f110c1b1804d827bb81d513cfa (patch)
tree17b4fa155dce4191d1baad301829d59bde51efc5 /lib/eunit
parent9f6f29e5c58ab9e39a4de3142c9670c925734130 (diff)
downloadotp-63d9357482d977f110c1b1804d827bb81d513cfa.tar.gz
otp-63d9357482d977f110c1b1804d827bb81d513cfa.tar.bz2
otp-63d9357482d977f110c1b1804d827bb81d513cfa.zip
Improve success message when 2 tests have passed
**2 tests have passed.** instead of **All 2 tests passed.**
Diffstat (limited to 'lib/eunit')
-rw-r--r--lib/eunit/src/eunit_tty.erl2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/eunit/src/eunit_tty.erl b/lib/eunit/src/eunit_tty.erl
index f21b2da3d3..65a306c1cf 100644
--- a/lib/eunit/src/eunit_tty.erl
+++ b/lib/eunit/src/eunit_tty.erl
@@ -67,6 +67,8 @@ terminate({ok, Data}, St) ->
end,
if Pass =:= 1 ->
fwrite(" Test passed.\n");
+ Pass =:= 2 ->
+ fwrite(" 2 tests passed.\n");
true ->
fwrite(" All ~w tests passed.\n", [Pass])
end