Fix assertionStarting events being sent after the expr is evaluated
Closes #2678
This commit is contained in:
7 files changed
+110
-12
No files matched your search
@@ -23,7 +23,9 @@ namespace Catch {
|
||||
ResultDisposition::Flags resultDisposition )
|
||||
: m_assertionInfo{ macroName, lineInfo, capturedExpression, resultDisposition },
|
||||
m_resultCapture( getResultCapture() )
|
||||
{}
|
||||
{
|
||||
m_resultCapture.notifyAssertionStarted( m_assertionInfo );
|
||||
}
|
||||
|
||||
void AssertionHandler::handleExpr( ITransientExpression const& expr ) {
|
||||
m_resultCapture.handleExpr( m_assertionInfo, expr, m_reaction );
|
||||
|
||||
Reference in new issue
Block a user