Skip to content

Commit b52cdd6

Browse files
committed
Fix tests
1 parent 5df344a commit b52cdd6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: tests/Reader/DefaultReaderTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class DefaultReaderTest extends BaseTestCase
3030
public function testEmptyFilepath(): void
3131
{
3232
$this->expectException(ValueError::class);
33-
$this->expectExceptionMessage('Argument #1 ($uri) cannot be empty');
33+
$this->expectExceptionMessageMatches('#(XMLReader\:\:open\(\)\: )?Argument \#1 \(\$uri\) (must not|cannot) be empty#');
3434

3535
$this->newReader('');
3636
}

0 commit comments

Comments
 (0)