aboutsummaryrefslogtreecommitdiffstats
path: root/lib/eunit
diff options
context:
space:
mode:
authorHenrik Nord <[email protected]>2015-08-25 14:22:55 +0200
committerHenrik Nord <[email protected]>2015-08-25 14:23:26 +0200
commit4d51ad280e5bdfe270bca772476e2e029520a2b2 (patch)
tree4b828a0bcdce69b9f5d31cfbbc088f65381cd090 /lib/eunit
parent330628d6fc93a05fdfa2f7a82e16b45d984f0bcf (diff)
parent63d9357482d977f110c1b1804d827bb81d513cfa (diff)
downloadotp-4d51ad280e5bdfe270bca772476e2e029520a2b2.tar.gz
otp-4d51ad280e5bdfe270bca772476e2e029520a2b2.tar.bz2
otp-4d51ad280e5bdfe270bca772476e2e029520a2b2.zip
Merge branch 'eksperimental/patch-1' into maint
* eksperimental/patch-1: Improve success message when 2 tests have passed OTP-12952
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 699d2adaca..f604ca5ba3 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