integrated AssertionHandler into INTERNAL_CATCH_THROWS_AS
This commit is contained in:
1 parent
f033f4f184
commit
8a97beece2
3 files changed
+11
-7
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user