Skip to content

Commit

Permalink
We only care about our exceptions
Browse files Browse the repository at this point in the history
  • Loading branch information
mikeSimonson committed Nov 30, 2017
1 parent bb12259 commit 04830d3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/Doctrine/Tests/Common/Annotations/DocParserTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ class A {
try {
$parser = $this->createTestParser();
self::assertEmpty($parser->parse($docblock));
} catch (\Exception $e) {
} catch (AnnotationException $e) {
$this->fail($e->getMessage());
}
}
Expand All @@ -1186,7 +1186,7 @@ class A {
try {
$parser = $this->createTestParser();
self::assertEmpty($parser->parse($docblock));
} catch (\Exception $e) {
} catch (AnnotationException $e) {
$this->fail($e->getMessage());
}
}
Expand Down

0 comments on commit 04830d3

Please sign in to comment.