Skip to content

Commit

Permalink
Minor: no need to sort testdox assertions (#841)
Browse files Browse the repository at this point in the history
  • Loading branch information
Slamdunk authored Feb 7, 2024
1 parent b2830e3 commit fb2e5ea
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions test/Unit/WrapperRunner/WrapperRunnerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,13 @@ public function testTestdoxOutput(): void
self::assertNotFalse($format);

$output = $result->output;
$output = preg_replace("/^Processes: \\d+\nRuntime: PHP \\d+.\\d+.\\d+(-\w+)?\n\n/", '', $output, 1, $count);
$output = preg_replace("/^Processes: \\d+\nRuntime: PHP \\d+.\\d+.\\d+(-.+)?\n\n/", '', $output, 1, $count);
self::assertSame(1, $count);
self::assertNotNull($output);

self::assertStringMatchesFormat(
self::sorted($format),
self::sorted($output),
$format,
$output,
);
}

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

EFIRS.W 7 / 7 (100%)

Time: %s, Memory: %s MB
Expand Down

0 comments on commit fb2e5ea

Please sign in to comment.