diff options
author | Henrik Nord <[email protected]> | 2015-08-25 14:22:55 +0200 |
---|---|---|
committer | Henrik Nord <[email protected]> | 2015-08-25 14:23:26 +0200 |
commit | 4d51ad280e5bdfe270bca772476e2e029520a2b2 (patch) | |
tree | 4b828a0bcdce69b9f5d31cfbbc088f65381cd090 /lib/eunit/src/eunit_tty.erl | |
parent | 330628d6fc93a05fdfa2f7a82e16b45d984f0bcf (diff) | |
parent | 63d9357482d977f110c1b1804d827bb81d513cfa (diff) | |
download | otp-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/src/eunit_tty.erl')
-rw-r--r-- | lib/eunit/src/eunit_tty.erl | 2 |
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 |