Skip to content

Commit 606be0f

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 bfddd2a + acbfbb2 commit 606be0f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)