mirror of
https://github.com/catchorg/Catch2.git
synced 2024-12-22 19:33:29 +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:
parent
a600bfeb75
commit
f58ff0c540
@ -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' )
|
||||
|
Loading…
Reference in New Issue
Block a user