fgerlits commented on code in PR #2081:
URL: https://github.com/apache/nifi-minifi-cpp/pull/2081#discussion_r2925647342


##########
libminifi/test/libtest/unit/TestUtils.cpp:
##########
@@ -260,4 +260,43 @@ std::error_code sendMessagesViaSSL(const 
std::vector<std::string_view>& contents
   return {};
 }
 
+std::vector<LogMessageView> extractLogMessageViews(const std::string& log_str) 
{
+  std::vector<LogMessageView> messages;
+  const std::regex header_pattern(R"((\[[\d\-\s\:\.]+\]) (\s*\[[^\]]+\]) 
\[(.*)\])");

Review Comment:
   some tests may need to be updated, because the class name no longer contains 
the `[]` characters



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to