diff --git a/include/internal/catch_run_context.hpp b/include/internal/catch_run_context.hpp index cb926823..643c6840 100644 --- a/include/internal/catch_run_context.hpp +++ b/include/internal/catch_run_context.hpp @@ -319,6 +319,7 @@ namespace Catch { static void invokeTestCase( TestCase const& testCase ) { FatalConditionHandler fatalConditionHandler; // Handle signals testCase.invoke(); + fatalConditionHandler.reset(); // Not strictly needed but avoids warnings } private: diff --git a/include/internal/catch_tostring.hpp b/include/internal/catch_tostring.hpp index 687a9117..52f12350 100644 --- a/include/internal/catch_tostring.hpp +++ b/include/internal/catch_tostring.hpp @@ -61,7 +61,6 @@ std::string toString( std::string const& value ) { std::string subs; switch( s[i] ) { case '\r': subs = "\\r"; break; - case '\l': subs = "\\l"; break; case '\n': subs = "\\n"; break; case '\t': subs = "\\t"; break; default: break;