diff options
| author | Martin Hořeňovský | 2017-02-01 21:31:14 +0100 |
|---|---|---|
| committer | Martin Hořeňovský | 2017-02-01 21:31:14 +0100 |
| commit | f58ff0c540c563ab815743b6e98c97c28e263efe (patch) | |
| tree | 138994a08c1117c0ba2a97ce3e955e036c609afc /include | |
| parent | a600bfeb75b8883448f7518b4ce9a291796c3581 (diff) | |
| download | catch3-f58ff0c540c563ab815743b6e98c97c28e263efe.tar.gz | |
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.
Diffstat (limited to 'include')
| -rw-r--r-- | include/internal/catch_tostring.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/internal/catch_tostring.hpp b/include/internal/catch_tostring.hpp index 1b26358b..e61191b9 100644 --- a/include/internal/catch_tostring.hpp +++ b/include/internal/catch_tostring.hpp @@ -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' ) |