Skip to content

Commit 01c5e98

Browse files
committed
Always display slow execution time with 3 decimal places
1 parent 4a37c70 commit 01c5e98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/SpeedTrap.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,7 @@ protected function renderBody(): void
211211
$time = array_shift($slowTests);
212212
$seconds = $time / 1000;
213213

214-
echo sprintf(" %s) %ss to run %s\n", $i, $seconds, $label);
214+
echo sprintf(" %s) %.3fs to run %s\n", $i, $seconds, $label);
215215
}
216216
}
217217

0 commit comments

Comments
 (0)