diff options
| author | Phil Nash | 2012-11-17 17:22:37 +0000 |
|---|---|---|
| committer | Phil Nash | 2012-11-17 17:22:37 +0000 |
| commit | d0cc33f2849f500eb4d5123adde6e9daa830d10a (patch) | |
| tree | 389cd1a398082bc38d03cd63ed51d0e24d58a61f /include | |
| parent | 3e2e318eeb91d8e5417c9c93761ebfc1595d6154 (diff) | |
| download | catch3-d0cc33f2849f500eb4d5123adde6e9daa830d10a.tar.gz | |
Unchecked exceptions don't report previous assertions message (only its line number)
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_runner_impl.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/internal/catch_runner_impl.hpp b/include/internal/catch_runner_impl.hpp index f72d5768..98381ccd 100644 --- a/include/internal/catch_runner_impl.hpp +++ b/include/internal/catch_runner_impl.hpp @@ -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 ( |