From 63d9357482d977f110c1b1804d827bb81d513cfa Mon Sep 17 00:00:00 2001 From: eksperimental Date: Sat, 7 Feb 2015 22:05:02 +0700 Subject: Improve success message when 2 tests have passed **2 tests have passed.** instead of **All 2 tests passed.** --- lib/eunit/src/eunit_tty.erl | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3