Skip to content

Commit

Permalink
[DCOM-14] Added coverage to ticket. It can now safely be closed as in…
Browse files Browse the repository at this point in the history
…valid.
  • Loading branch information
Guilherme Blanco committed Sep 1, 2010
1 parent 616ab6e commit 7e7a06e
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/Doctrine/Tests/Common/Annotations/ParserTest.php
Expand Up @@ -277,6 +277,27 @@ class A {
$this->fail($e->getMessage());
}
}

/**
* @group DCOM-14
*/
public function testIgnorePHPDocThrowTag()
{
$docblock = <<<DOCBLOCK
/**
* @throws\RuntimeException
*/
class A {
}
DOCBLOCK;

try {
$parser = $this->createTestParser();
$result = $parser->parse($docblock);
} catch (Exception $e) {
$this->fail($e->getMessage());
}
}
}

class Name extends \Doctrine\Common\Annotations\Annotation {
Expand Down

0 comments on commit 7e7a06e

Please sign in to comment.