mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 15:26:11 +01:00
Patched issue where an assert before the first section can cause a set-fault (needs a better fix, though)
This commit is contained in:
parent
767f1588dc
commit
90b2bfec3d
@ -279,7 +279,7 @@ namespace Catch {
|
|||||||
if( !currentSectionInfo ) {
|
if( !currentSectionInfo ) {
|
||||||
printHeader( unusedTestCaseInfo->name );
|
printHeader( unusedTestCaseInfo->name );
|
||||||
stream << std::endl;
|
stream << std::endl;
|
||||||
unusedTestCaseInfo.reset();
|
// unusedTestCaseInfo.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void lazyPrintSectionInfo() {
|
void lazyPrintSectionInfo() {
|
||||||
|
File diff suppressed because it is too large
Load Diff
@ -1,6 +1,6 @@
|
|||||||
/*
|
/*
|
||||||
* CATCH v0.9 build 21 (integration branch)
|
* CATCH v0.9 build 21 (integration branch)
|
||||||
* Generated: 2013-03-04 12:17:59.865403
|
* Generated: 2013-03-04 15:05:07.210014
|
||||||
* ----------------------------------------------------------
|
* ----------------------------------------------------------
|
||||||
* This file has been merged from multiple headers. Please don't edit it directly
|
* This file has been merged from multiple headers. Please don't edit it directly
|
||||||
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
|
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
|
||||||
@ -7219,7 +7219,7 @@ namespace Catch {
|
|||||||
if( !currentSectionInfo ) {
|
if( !currentSectionInfo ) {
|
||||||
printHeader( unusedTestCaseInfo->name );
|
printHeader( unusedTestCaseInfo->name );
|
||||||
stream << std::endl;
|
stream << std::endl;
|
||||||
unusedTestCaseInfo.reset();
|
// unusedTestCaseInfo.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
void lazyPrintSectionInfo() {
|
void lazyPrintSectionInfo() {
|
||||||
|
Loading…
Reference in New Issue
Block a user