We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 31e20c9 + a1758c9 commit e0eb761Copy full SHA for e0eb761
tests/php/i18n/YamlReaderTest.php
@@ -43,7 +43,7 @@ public function testThrowsMeaningfulExceptionWhenYmlIsCorrupted()
43
$path = __DIR__ . '/i18nTest/_fakewebroot/i18ntestmodule/lang/en_corrupt.yml';
44
$this->expectException(InvalidResourceException::class);
45
$regex_path = str_replace('.', '\.', $path ?? '');
46
- $this->expectExceptionMessageMatches('@^Error parsing YAML, invalid file "' . $regex_path . '"\. Message: ([\w ].*) line 5 @');
+ $this->expectExceptionMessageMatches('@^Error parsing YAML, invalid file "' . $regex_path . '"\. Message: ([\w ].*) line \d@');
47
$reader = new YamlReader();
48
$reader->read('en', $path);
49
}
0 commit comments