mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 14:09:33 +01:00 
			
		
		
		
	fixes catchorg/Catch2#2401
This commit is contained in:
		
				
					committed by
					
						
						Martin Hořeňovský
					
				
			
			
				
	
			
			
			
						parent
						
							14bc25be00
						
					
				
				
					commit
					02123776f2
				
			@@ -293,7 +293,7 @@ namespace Catch {
 | 
			
		||||
 | 
			
		||||
            // Handle list request
 | 
			
		||||
            if( Option<std::size_t> listed = list( m_config ) )
 | 
			
		||||
                return static_cast<int>( *listed );
 | 
			
		||||
                return (std::min) (MaxExitCode, static_cast<int>(*listed));
 | 
			
		||||
 | 
			
		||||
            TestGroup tests { m_config };
 | 
			
		||||
            auto const totals = tests.execute();
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user