Fixed number padding in test runner
This commit is contained in:
parent
b7a42d9f6a
commit
440f7140ff
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ function runAll($filter)
|
||||||
foreach ($labels as &$label)
|
foreach ($labels as &$label)
|
||||||
$label = str_pad($label, $maxLabelLength + 1, ' ');
|
$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
|
//run all the methods
|
||||||
$success = true;
|
$success = true;
|
||||||
|
|
Loading…
Reference in a new issue