mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-11-04 05:59:32 +01:00 
			
		
		
		
	Remove \l, add \f in character pretty printing
I have never head of \l and MSVC warns about unknown escape sequence, so I changed it into \f that definitely exists and potentially might be useful.
This commit is contained in:
		@@ -148,8 +148,8 @@ std::string toString( bool value ) {
 | 
			
		||||
std::string toString( char value ) {
 | 
			
		||||
    if ( value == '\r' )
 | 
			
		||||
        return "'\\r'";
 | 
			
		||||
    if ( value == '\l' )
 | 
			
		||||
        return "'\\l'";
 | 
			
		||||
    if ( value == '\f' )
 | 
			
		||||
        return "'\\f'";
 | 
			
		||||
    if ( value == '\n' )
 | 
			
		||||
        return "'\\n'";
 | 
			
		||||
    if ( value == '\t' )
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user