1
0
Fork 0
mirror of https://github.com/composer/composer synced 2025-05-09 00:22:53 +00:00

Php unit dedicate assert (#10881)

Co-authored-by: Jordi Boggiano <j.boggiano@seld.be>
This commit is contained in:
Mathias Reker ⚡️ 2022-06-22 14:20:08 +02:00 committed by GitHub
parent 4131f7cf4c
commit d17c724f23
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 19 additions and 19 deletions

View file

@ -123,7 +123,7 @@ class CompositeRepositoryTest extends TestCase
$repo = new CompositeRepository(array($arrayRepoOne, $arrayRepoTwo));
$this->assertEquals(2, count($repo), "Should return '2' for count(\$repo)");
$this->assertCount(2, $repo, "Should return '2' for count(\$repo)");
}
/**