Skip to content

Commit e0eb761

Browse files
committed
Merge branch '6.0' into 6.1
2 parents 31e20c9 + a1758c9 commit e0eb761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/php/i18n/YamlReaderTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public function testThrowsMeaningfulExceptionWhenYmlIsCorrupted()
4343
$path = __DIR__ . '/i18nTest/_fakewebroot/i18ntestmodule/lang/en_corrupt.yml';
4444
$this->expectException(InvalidResourceException::class);
4545
$regex_path = str_replace('.', '\.', $path ?? '');
46-
$this->expectExceptionMessageMatches('@^Error parsing YAML, invalid file "' . $regex_path . '"\. Message: ([\w ].*) line 5 @');
46+
$this->expectExceptionMessageMatches('@^Error parsing YAML, invalid file "' . $regex_path . '"\. Message: ([\w ].*) line \d@');
4747
$reader = new YamlReader();
4848
$reader->read('en', $path);
4949
}

0 commit comments

Comments
 (0)