add tests for bug #63;

This commit is contained in:
Chuck Burgess
2018-01-07 08:50:54 -06:00
parent c8a91684d6
commit 2f482c78b0
2 changed files with 40 additions and 0 deletions
+15
View File
@@ -48,6 +48,21 @@ class DocBlockTest extends TestCase
$this->assertSame($summary, $fixture->getSummary());
}
/**
* @covers ::__construct
* @covers ::getSummary
*
* @uses \phpDocumentor\Reflection\DocBlock\Description
*/
public function testDocBlockCanHaveEllipsisInSummary(): void
{
$summary = 'This is a short (...) description.';
$fixture = new DocBlock($summary);
$this->assertSame($summary, $fixture->getSummary());
}
/**
* @covers ::__construct
* @covers ::getDescription