Skip to content

Commit 8e013fe

Browse files
committed
Fix Parsing duration
1 parent a0324bd commit 8e013fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/TestResult.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ private function parseOutput(): void
5050
private function parseMainMetrics(): void
5151
{
5252
// Duration
53-
if (preg_match('/Duration:\s+([\d.]+s)/', $this->rawOutput, $matches)) {
53+
if (preg_match('/Duration:\s+([^\n]+)/', $this->rawOutput, $matches)) {
5454
$this->parsedResults['duration'] = $matches[1];
5555
}
5656

0 commit comments

Comments
 (0)