mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 12:17:11 +01:00 
			
		
		
		
	| @@ -277,7 +277,7 @@ namespace Catch { | ||||
|             // Note that on unices only the lower 8 bits are usually used, clamping | ||||
|             // the return value to 255 prevents false negative when some multiple | ||||
|             // of 256 tests has failed | ||||
|             return (std::min)( { MaxExitCode, totals.error, static_cast<int>( totals.assertions.failed ) } ); | ||||
|             return (std::min) (MaxExitCode, (std::max) (totals.error, static_cast<int>(totals.assertions.failed))); | ||||
|         } | ||||
|         catch( std::exception& ex ) { | ||||
|             Catch::cerr() << ex.what() << std::endl; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský