mirror of
https://github.com/barryvdh/ReflectionDocBlock.git
synced 2026-08-18 01:57:13 +00:00
Use assertCount (#140)
This commit is contained in:
committed by
Jaap van Otterdijk
parent
bab88701ea
commit
4ea190884d
@@ -93,7 +93,7 @@ class DescriptionTest extends TestCase
|
|||||||
|
|
||||||
$fixture = new Description($body, $tags);
|
$fixture = new Description($body, $tags);
|
||||||
|
|
||||||
$this->assertEquals(2, count($fixture->getTags()));
|
$this->assertCount(2, $fixture->getTags());
|
||||||
|
|
||||||
$actualTags = $fixture->getTags();
|
$actualTags = $fixture->getTags();
|
||||||
$this->assertSame($tags, $actualTags);
|
$this->assertSame($tags, $actualTags);
|
||||||
|
|||||||
Reference in New Issue
Block a user