Skip to content

Commit

Permalink
Fix test after rebase
Browse files Browse the repository at this point in the history
  • Loading branch information
lordgamez committed Oct 21, 2024
1 parent 7438e13 commit 9dd8d01
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libminifi/test/unit/LoggerTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ TEST_CASE("fmt formatting works with the logger") {
logger->log_critical("{} in hex is {:#x}", 13, 13);
logger->log_critical("Unix epoch: {}", std::chrono::system_clock::time_point());
logger->log_critical("{:%Q %q} equals to {:%Q %q}", 2h, std::chrono::duration_cast<std::chrono::seconds>(2h));
CHECK(LogTestController::getInstance().contains("[org::apache::nifi::minifi::core::logging::Logger] [critical] 1min equals to 60s"));
CHECK(LogTestController::getInstance().contains("[org::apache::nifi::minifi::core::logging::Logger] [critical] 1m equals to 60s"));
CHECK(LogTestController::getInstance().contains("[org::apache::nifi::minifi::core::logging::Logger] [critical] 13 in hex is 0xd"));
CHECK(LogTestController::getInstance().contains("[org::apache::nifi::minifi::core::logging::Logger] [critical] Unix epoch: 1970-01-01 00:00:00.00"));
CHECK(LogTestController::getInstance().contains("[org::apache::nifi::minifi::core::logging::Logger] [critical] 2 h equals to 7200 s"));
Expand Down

0 comments on commit 9dd8d01

Please sign in to comment.