mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	Fixed !shouldfail
This commit is contained in:
		| @@ -109,6 +109,11 @@ namespace Catch { | ||||
|             while( getCurrentContext().advanceGeneratorsForCurrentTest() && !aborting() ); | ||||
|  | ||||
|             Totals deltaTotals = m_totals.delta( prevTotals ); | ||||
|             if( testInfo.expectedToFail() && deltaTotals.testCases.passed > 0 ) { | ||||
|                 deltaTotals.assertions.failed++; | ||||
|                 deltaTotals.testCases.passed--; | ||||
|                 deltaTotals.testCases.failed++; | ||||
|             } | ||||
|             m_totals.testCases += deltaTotals.testCases; | ||||
|             m_reporter->testCaseEnded( TestCaseStats(   testInfo, | ||||
|                                                         deltaTotals, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash