Progmasoft Git

catch3

Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.

Clonegit clone https://git.progmasoft.com/catch3

GitHub issue #62

Initialise m_firstSectionInTestCase in Basic Reporter
Commit
07ff5f39fd6206e0af82cd51a2a833c9883ed7df
Author
Phil Nash ·
Parents
b13ad46532c6

Files · Download .tar.gz

Changes

 include/reporters/catch_reporter_basic.hpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/reporters/catch_reporter_basic.hpp b/include/reporters/catch_reporter_basic.hpp
index 35e86df5..1a370464 100644
--- a/include/reporters/catch_reporter_basic.hpp
+++ b/include/reporters/catch_reporter_basic.hpp
@@ -46,7 +46,8 @@ namespace Catch
         (
             const IReporterConfig& config
         )
-        :   m_config( config )
+        :   m_config( config ),
+            m_firstSectionInTestCase( true )
         {
         }