Fix REQUIRE_FALSE so that it aborts test case

This commit is contained in:
Baruch
2015-04-29 13:54:47 +03:00
parent 4af4405ce1
commit 465454fecc
2 changed files with 5 additions and 5 deletions

View File

@@ -71,7 +71,7 @@ namespace Catch {
if( !result.isOk() ) {
if( getCurrentContext().getConfig()->shouldDebugBreak() )
m_shouldDebugBreak = true;
if( getCurrentContext().getRunner()->aborting() || m_assertionInfo.resultDisposition == ResultDisposition::Normal )
if( getCurrentContext().getRunner()->aborting() || (m_assertionInfo.resultDisposition & ResultDisposition::Normal) )
m_shouldThrow = true;
}
}