Skip to content

Commit

Permalink
chore: tidy codes
Browse files Browse the repository at this point in the history
Signed-off-by: Jack Cherng <[email protected]>
  • Loading branch information
jfcherng committed Mar 7, 2024
1 parent 6650347 commit dff8047
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/DiffHelperTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public static function provideRendererOutputCases(): iterable
protected static function findRendererOutputTestFiles(string $rendererName): array
{
$rendererNameRegex = preg_quote($rendererName, '/');
$fileNameRegex = "/{$rendererNameRegex}-(?P<idx>[0-9]+)-(?P<name>[^.\\-]+)\\.txt$/u";
$fileNameRegex = "/{$rendererNameRegex}-(?P<idx>[0-9]+)-(?P<name>[^.-]+)\\.txt$/u";

$finder = (new Finder())
->files()
Expand Down

0 comments on commit dff8047

Please sign in to comment.