Refactored most handle() calls to more specific/ descriptive calls
This commit is contained in:
parent
2800adba25
commit
db44964e27
6 changed files with 54 additions and 29 deletions
|
@ -18,7 +18,7 @@ namespace Catch {
|
|||
void handleExceptionMatchExpr( AssertionHandler& handler, StringMatcher const& matcher, StringRef matcherString ) {
|
||||
std::string exceptionMessage = Catch::translateActiveException();
|
||||
MatchExpr<std::string, StringMatcher const&> expr( exceptionMessage, matcher, matcherString );
|
||||
handler.handle( expr );
|
||||
handler.handleExpr( expr );
|
||||
}
|
||||
|
||||
} // namespace Catch
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue