Mercurial > hg > orthanc
diff OrthancFramework/UnitTestsSources/LoggingTests.cpp @ 5458:d7c9c85d78dc
fix logging unit tests
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 08 Dec 2023 10:26:53 +0100 |
parents | 0ea402b4d901 |
children | 48b8dae6dc77 |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/LoggingTests.cpp Fri Dec 08 10:15:09 2023 +0100 +++ b/OrthancFramework/UnitTestsSources/LoggingTests.cpp Fri Dec 08 10:26:53 2023 +0100 @@ -69,7 +69,7 @@ const std::string& logLine) { const char* regexStr = "[A-Z][0-9]{4} [0-9]{2}:[0-9]{2}:[0-9]{2}.[0-9]{6} " - "[a-zA-Z\\.\\-_]+:[0-9]+\\] (.*)" EOLSTRING "$"; + ".{16} [a-zA-Z\\.\\-_]+:[0-9]+\\] (.*)" EOLSTRING "$"; boost::regex regexObj(regexStr);