From f58ff0c540c563ab815743b6e98c97c28e263efe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Ho=C5=99e=C5=88ovsk=C3=BD?= Date: Wed, 1 Feb 2017 21:31:14 +0100 Subject: [PATCH] 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. --- include/internal/catch_tostring.hpp | 4 ++-- 1 file 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' )