mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
parent
6282999291
commit
684cbb2631
@ -227,6 +227,7 @@ namespace Catch {
|
|||||||
|
|
||||||
Totals deltaTotals;
|
Totals deltaTotals;
|
||||||
deltaTotals.testCases.failed = 1;
|
deltaTotals.testCases.failed = 1;
|
||||||
|
deltaTotals.assertions.failed = 1;
|
||||||
m_reporter->testCaseEnded(TestCaseStats(testInfo,
|
m_reporter->testCaseEnded(TestCaseStats(testInfo,
|
||||||
deltaTotals,
|
deltaTotals,
|
||||||
std::string(),
|
std::string(),
|
||||||
|
@ -429,3 +429,9 @@ TEST_CASE("Commas in various macros are allowed") {
|
|||||||
CHECK(true);
|
CHECK(true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
TEST_CASE( "null deref", "[.][failing][!nonportable]" ) {
|
||||||
|
CHECK( false );
|
||||||
|
int *x = NULL;
|
||||||
|
*x = 1;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user