integrated AssertionHandler into INTERNAL_CATCH_THROWS_AS
This commit is contained in:
parent
f033f4f184
commit
8a97beece2
3 changed files with 11 additions and 7 deletions
|
@ -90,6 +90,9 @@ namespace Catch {
|
|||
void AssertionHandler::handle( ResultWas::OfType resultType ) {
|
||||
handle( resultType, nullptr, false );
|
||||
}
|
||||
auto AssertionHandler::allowThrows() const -> bool {
|
||||
return getCurrentContext().getConfig()->allowThrows();
|
||||
}
|
||||
|
||||
auto AssertionHandler::shouldDebugBreak() const -> bool {
|
||||
return m_shouldDebugBreak;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue