diff --git a/src/SpeedTrap.php b/src/SpeedTrap.php index 3c0e162..9b84d2c 100644 --- a/src/SpeedTrap.php +++ b/src/SpeedTrap.php @@ -211,7 +211,7 @@ protected function renderBody(): void $time = array_shift($slowTests); $seconds = $time / 1000; - echo sprintf(" %s) %ss to run %s\n", $i, $seconds, $label); + echo sprintf(" %s) %.3fs to run %s\n", $i, $seconds, $label); } }