mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +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 ) {
|
std::string toString( char value ) {
|
||||||
if ( value == '\r' )
|
if ( value == '\r' )
|
||||||
return "'\\r'";
|
return "'\\r'";
|
||||||
if ( value == '\l' )
|
if ( value == '\f' )
|
||||||
return "'\\l'";
|
return "'\\f'";
|
||||||
if ( value == '\n' )
|
if ( value == '\n' )
|
||||||
return "'\\n'";
|
return "'\\n'";
|
||||||
if ( value == '\t' )
|
if ( value == '\t' )
|
||||||
|
Loading…
Reference in New Issue
Block a user