mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Unchecked exceptions don't report previous assertions message (only its line number)
This commit is contained in:
parent
3e2e318eeb
commit
d0cc33f284
3 changed files with 36 additions and 21 deletions
|
@ -161,6 +161,9 @@ namespace Catch {
|
|||
m_assertionResults.push_back( result );
|
||||
else
|
||||
m_reporter->Result( result );
|
||||
|
||||
// Reset AssertionInfo
|
||||
m_lastAssertionInfo = AssertionInfo( "", m_lastAssertionInfo.lineInfo, "{Unknown expression after this line}" , m_lastAssertionInfo.resultDisposition );
|
||||
}
|
||||
|
||||
virtual bool sectionStarted (
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue