Fixed number padding in test runner

This commit is contained in:
Marcin Kurczewski 2014-05-06 13:07:11 +02:00
parent b7a42d9f6a
commit 440f7140ff

View file

@ -93,7 +93,7 @@ function runAll($filter)
foreach ($labels as &$label)
$label = str_pad($label, $maxLabelLength + 1, ' ');
$pad = count($testMethods) ? ceil(log10(count($testMethods))) : 0;
$pad = count($testMethods) ? ceil(log10(1 + count($testMethods))) : 0;
//run all the methods
$success = true;