Just track whether last assertion passed directly, rather than deduce it from counts

This commit is contained in:
Phil Nash committed 2017-12-02 18:44:23 +00:00
1 parent 57c346a46d
commit dfa817ae73
2 files changed
+8 -4

No files matched your search

+1 -1
View File
@@ -164,7 +164,7 @@ namespace Catch {
std::vector<SectionEndInfo> m_unfinishedSections;
std::vector<ITracker*> m_activeSections;
TrackerContext m_trackerContext;
std::size_t m_prevPassed = 0;
bool m_lastAssertionPassed = false;
bool m_shouldReportUnexpected = true;
bool m_includeSuccessfulResults;
};