Skip to content

Commit 8656c9e

Browse files
Merge branch '6.0' into 6.1
* 6.0: CS fixes Bump Symfony version to 6.0.11 Update VERSION for 6.0.10 Update CHANGELOG for 6.0.10 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 4a75e85 + 89a6b73 commit 8656c9e

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)