Commit 7b334b3e 7b334b3e5f025a34ac0679988d806dc47fea7fdd by Nicolas Perriault

enhanced formatting of tester results

1 parent c1315256
......@@ -408,7 +408,7 @@ var Tester = function(casper, options) {
if (failures.length === 0) {
return;
}
casper.echo(f("\nDetails for the %d failed tests:\n", failures.length), "PARAMETER");
casper.echo(f("\nDetails for the %d failed test%s:\n", failures.length, failures.length > 1 ? "s" : ""), "PARAMETER");
failures.forEach(function(failure) {
casper.echo(f('In %s:', failure.file));
var message;
......