Unverified Commit f57378d8 authored by Gabi Melman's avatar Gabi Melman Committed by GitHub

Update test_eventlog.cpp

parent 1ccdc225
......@@ -43,7 +43,7 @@ static void test_single_print(std::function<void(std::string const &)> do_log, s
REQUIRE(record->NumStrings == 1);
REQUIRE(record->EventType == expected_ev_type);
REQUIRE(record->TimeGenerated == expected_time_generated);
REQUIRE((expected_time_generated - record->TimeGenerated) <= 3u);
std::string message_in_log(((char *)record + record->StringOffset));
REQUIRE(message_in_log == expected_contents + spdlog::details::os::default_eol);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment