Skip to content

Commit 89a6b73

Browse files
Merge branch '5.4' into 6.0
* 5.4: CS fixes Bump Symfony version to 5.4.11 Update VERSION for 5.4.10 Update CHANGELOG for 5.4.10 Bump Symfony version to 4.4.44 Update VERSION for 4.4.43 Update CONTRIBUTORS for 4.4.43 Update CHANGELOG for 4.4.43
2 parents 75f4059 + d3da293 commit 89a6b73

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Translation/Test/TranslatorTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -356,7 +356,7 @@ protected function validateMatrix(string $nplural, array $matrix, bool $expectSu
356356
foreach ($matrix as $langCode => $data) {
357357
$indexes = array_flip($data);
358358
if ($expectSuccess) {
359-
$this->assertEquals($nplural, \count($indexes), "Langcode '$langCode' has '$nplural' plural forms.");
359+
$this->assertCount($nplural, $indexes, "Langcode '$langCode' has '$nplural' plural forms.");
360360
} else {
361361
$this->assertNotEquals((int) $nplural, \count($indexes), "Langcode '$langCode' has '$nplural' plural forms.");
362362
}

0 commit comments

Comments
 (0)