Skip to content

Commit

Permalink
fix: another try at matching for windows slash
Browse files Browse the repository at this point in the history
  • Loading branch information
mallardduck committed Jul 29, 2021
1 parent b9629ea commit d991397
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
$this->expectException(JsonException::class);
$this->expectExceptionCode(0);
$this->expectExceptionMessageMatches(
'#Cannot get source file from path: ([\\\\/a-zA-Z\-\:]+)' . DIRECTORY_SEPARATOR .
'#Cannot get source file from path: ([\\\\\/a-zA-Z\-\:]+)' . DIRECTORY_SEPARATOR .
'tests' . DIRECTORY_SEPARATOR . 'MockLocators' . DIRECTORY_SEPARATOR . '..' . DIRECTORY_SEPARATOR .
'..' . DIRECTORY_SEPARATOR . 'tmp' . DIRECTORY_SEPARATOR . 'empty.json#',
);
Expand Down

0 comments on commit d991397

Please sign in to comment.