We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 77f0856 commit 6b9b5a0Copy full SHA for 6b9b5a0
src/test/SimpleTestReporter.h
@@ -57,7 +57,10 @@ struct SimpleTestReporter : public ConsoleReporter
57
bool res = _assertionStats.assertionResult.isOk();
58
if (!res)
59
{
60
- ConsoleReporter::assertionStarting(*mLastAssertInfo);
+ if (mLastAssertInfo)
61
+ {
62
+ ConsoleReporter::assertionStarting(*mLastAssertInfo);
63
+ }
64
res = ConsoleReporter::assertionEnded(_assertionStats);
65
}
66
mLastAssertInfo.reset();
0 commit comments