Read-only mirrors. Development, issues and pull requests are on GitHub.

summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorPhil Nash2012-11-17 17:22:37 +0000
committerPhil Nash2012-11-17 17:22:37 +0000
commitd0cc33f2849f500eb4d5123adde6e9daa830d10a (patch)
tree389cd1a398082bc38d03cd63ed51d0e24d58a61f /include
parent3e2e318eeb91d8e5417c9c93761ebfc1595d6154 (diff)
downloadcatch3-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.hpp3
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 (