catch3
Progmasoft Catch3: an independently maintained C++17 test framework with a parallel runner, property checks, snapshots and structured results.
Clonegit clone https://git.progmasoft.com/catch3
Remove \l, add \f in character pretty printing
- Commit
f58ff0c540c563ab815743b6e98c97c28e263efe- Author
- Martin Hořeňovský ·
- Parents
a600bfeb75b8
Changes
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' )