mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +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:
		| @@ -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
											
										
									
								
							| @@ -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() { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash