mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 04:07:10 +01:00 
			
		
		
		
	 Phil Nash
					Phil Nash
				
			
				
					committed by
					
						 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			 Martin Hořeňovský
						Martin Hořeňovský
					
				
			
						parent
						
							4f21bb72ff
						
					
				
				
					commit
					9688891868
				
			| @@ -295,6 +295,7 @@ namespace Catch { | ||||
|  | ||||
|             Totals deltaTotals; | ||||
|             deltaTotals.testCases.failed = 1; | ||||
|             deltaTotals.assertions.failed = 1; | ||||
|             m_reporter->testCaseEnded( TestCaseStats(   testInfo, | ||||
|                                                         deltaTotals, | ||||
|                                                         std::string(), | ||||
|   | ||||
| @@ -407,3 +407,9 @@ TEST_CASE( "has printf", "" ) { | ||||
|     // This can cause problems as, currently, stdout itself is not redirect - only the cout (and cerr) buffer | ||||
|     printf( "spanner" ); | ||||
| } | ||||
|  | ||||
| TEST_CASE( "null deref", "[.][failing][!nonportable]" ) { | ||||
|     CHECK( false ); | ||||
|     int *x = NULL; | ||||
|     *x = 1; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user