Patched issue where an assert before the first section can cause a set-fault (needs a better fix, though)

This commit is contained in:
Phil Nash 2013-03-04 15:06:31 +01:00
parent 767f1588dc
commit 90b2bfec3d
3 changed files with 1459 additions and 3 deletions

View File

@ -279,7 +279,7 @@ namespace Catch {
if( !currentSectionInfo ) {
printHeader( unusedTestCaseInfo->name );
stream << std::endl;
unusedTestCaseInfo.reset();
// unusedTestCaseInfo.reset();
}
}
void lazyPrintSectionInfo() {

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
/*
* 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
* Copyright (c) 2012 Two Blue Cubes Ltd. All rights reserved.
@ -7219,7 +7219,7 @@ namespace Catch {
if( !currentSectionInfo ) {
printHeader( unusedTestCaseInfo->name );
stream << std::endl;
unusedTestCaseInfo.reset();
// unusedTestCaseInfo.reset();
}
}
void lazyPrintSectionInfo() {