mirror of
https://github.com/catchorg/Catch2.git
synced 2025-10-19 08:35:40 +02:00
Manual cherry-pick from #1111
This hsould merge still-valid piece of #1111 into master.
This commit is contained in:
@@ -52,7 +52,12 @@ namespace Catch {
|
||||
SourceLineInfo const& lineInfo,
|
||||
StringRef capturedExpression,
|
||||
ResultDisposition::Flags resultDisposition );
|
||||
~AssertionHandler();
|
||||
~AssertionHandler() {
|
||||
if ( !m_completed ) {
|
||||
m_resultCapture.handleIncomplete( m_assertionInfo )
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
template<typename T>
|
||||
void handleExpr( ExprLhs<T> const& expr ) {
|
||||
|
Reference in New Issue
Block a user