diff --git a/tests/Visual/Success.php b/tests/Visual/Success.php index 44aac2bc..8c5e1d6f 100644 --- a/tests/Visual/Success.php +++ b/tests/Visual/Success.php @@ -15,10 +15,10 @@ test('visual snapshot of test suite on success', function () { return preg_replace([ '#\\x1b[[][^A-Za-z]*[A-Za-z]#', - '/(Tests\\\PHPUnit\\\CustomAffixes\\\InvalidTestName)([A-Za-z0-9]*)/' + '/(Tests\\\PHPUnit\\\CustomAffixes\\\InvalidTestName)([A-Za-z0-9]*)/', ], [ '', - '$1' + '$1', ], $process->getOutput()); };