# HG changeset patch # User Alain Mazy # Date 1562844590 -7200 # Node ID 1fdbe58857838fa2421588be44db6f17eeab29f8 # Parent 9aaf40d504a237e3dd781b290106b6ee9db445f0 fix unit tests: removed \r from the expected string since we removed it when generating the log line diff -r 9aaf40d504a2 -r 1fdbe5885783 UnitTestsSources/LoggingTests.cpp --- a/UnitTestsSources/LoggingTests.cpp Thu Jul 11 11:49:15 2019 +0200 +++ b/UnitTestsSources/LoggingTests.cpp Thu Jul 11 13:29:50 2019 +0200 @@ -61,18 +61,14 @@ /** Extracts the log line payload -"E0423 16:55:43.001194 LoggingTests.cpp:102] Foo bar?\r\n" +"E0423 16:55:43.001194 LoggingTests.cpp:102] Foo bar?\n" --> "Foo bar" If the log line cannot be matched, the function returns false. */ -#ifdef WIN32 -# define EOLSTRING "\r\n" -#else -# define EOLSTRING "\n" -#endif +#define EOLSTRING "\n" static bool GetLogLinePayload(std::string& payload, const std::string& logLine)