Manual cherry-pick from #1111
This hsould merge still-valid piece of #1111 into master.
This commit is contained in:
1 parent
0cf05d54a6
commit
a7a9ee5552
8 files changed
+13
-15
No files matched your search
@@ -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