complete-run: fix uninitialized warning
This commit is contained in:
parent
81f4b6fc1a
commit
95508c3469
|
@ -172,7 +172,8 @@ my @slowest = map { $_->[0] }
|
||||||
grep { !/^GLOBAL$/ } keys %timings;
|
grep { !/^GLOBAL$/ } keys %timings;
|
||||||
say '';
|
say '';
|
||||||
say 'The slowest tests are:';
|
say 'The slowest tests are:';
|
||||||
printf("\t%s with %.2f seconds\n", $_, $timings{$_}) for @slowest[0..4];
|
printf("\t%s with %.2f seconds\n", $_, $timings{$_})
|
||||||
|
for @slowest[0..($#slowest > 4 ? 4 : $#slowest)];
|
||||||
|
|
||||||
END { cleanup() }
|
END { cleanup() }
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue