Skip to content

Commit d3da293

Browse files
Merge branch '4.4' into 5.4
* 4.4: CS fixes 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 3971579 + 9e27f5c commit d3da293

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
@@ -362,7 +362,7 @@ protected function validateMatrix($nplural, $matrix, $expectSuccess = true)
362362
foreach ($matrix as $langCode => $data) {
363363
$indexes = array_flip($data);
364364
if ($expectSuccess) {
365-
$this->assertEquals($nplural, \count($indexes), "Langcode '$langCode' has '$nplural' plural forms.");
365+
$this->assertCount($nplural, $indexes, "Langcode '$langCode' has '$nplural' plural forms.");
366366
} else {
367367
$this->assertNotEquals((int) $nplural, \count($indexes), "Langcode '$langCode' has '$nplural' plural forms.");
368368
}

0 commit comments

Comments
 (0)