Skip to content

Commit

Permalink
Empty CATCH statement detected
Browse files Browse the repository at this point in the history
  • Loading branch information
elliotchance committed Jun 21, 2014
1 parent 385b2d9 commit db5cca8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tests/Concise/Matcher/DoesNotThrowExceptionTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ public function testDoesNotThrow(\Closure $method, $expectSuccess)
$success = $this->matcher->match('? does not throw exception', array($method));
}
catch(DidNotMatchException $e) {
// the assertion happens just below...
}
$this->assertSame($expectSuccess, !$success);
}
Expand Down

0 comments on commit db5cca8

Please sign in to comment.