Skip to content

Commit 4473f76

Browse files
committed
Simplify footer output text
1 parent c3c4859 commit 4473f76

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/SpeedTrap.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ protected function getHiddenCount(): int
195195
*/
196196
protected function renderHeader(): void
197197
{
198-
echo sprintf("\n\nYou should really speed up these slow tests (>%sms)\n", $this->slowThreshold);
198+
echo sprintf("\n\nThe following tests were detected as slow (>%sms)\n", $this->slowThreshold);
199199
}
200200

201201
/**
@@ -221,7 +221,7 @@ protected function renderBody(): void
221221
protected function renderFooter(): void
222222
{
223223
if ($hidden = $this->getHiddenCount()) {
224-
printf("and there %s %s more above your threshold hidden from view\n", $hidden == 1 ? 'is' : 'are', $hidden);
224+
printf("and %s more slow tests hidden from view\n", $hidden);
225225
}
226226
}
227227

0 commit comments

Comments
 (0)