diff --git a/tests/run-all.php b/tests/run-all.php index efdf64c0..fd50b1c4 100644 --- a/tests/run-all.php +++ b/tests/run-all.php @@ -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;