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:
parent
4131f7cf4c
commit
d17c724f23
4 changed files with 19 additions and 19 deletions
|
@ -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)");
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue