mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Fix indentation of rangeToString in tostring.h
This commit is contained in:
		@@ -262,19 +262,19 @@ std::string toString( T const& value ) {
 | 
				
			|||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    namespace Detail {
 | 
					namespace Detail {
 | 
				
			||||||
    template<typename InputIterator>
 | 
					template<typename InputIterator>
 | 
				
			||||||
    std::string rangeToString( InputIterator first, InputIterator last ) {
 | 
					std::string rangeToString( InputIterator first, InputIterator last ) {
 | 
				
			||||||
    std::ostringstream oss;
 | 
					    std::ostringstream oss;
 | 
				
			||||||
    oss << "{ ";
 | 
					    oss << "{ ";
 | 
				
			||||||
    if( first != last ) {
 | 
					    if( first != last ) {
 | 
				
			||||||
        oss << Catch::toString( *first );
 | 
					        oss << Catch::toString( *first );
 | 
				
			||||||
            for( ++first ; first != last ; ++first )
 | 
					        while( ++first != last )
 | 
				
			||||||
            oss << ", " << Catch::toString( *first );
 | 
					            oss << ", " << Catch::toString( *first );
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
    oss << " }";
 | 
					    oss << " }";
 | 
				
			||||||
    return oss.str();
 | 
					    return oss.str();
 | 
				
			||||||
    }
 | 
					}
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
} // end namespace Catch
 | 
					} // end namespace Catch
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user