mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
update clang format again
This commit is contained in:
@@ -8,7 +8,7 @@ TEST_CASE("time_point1", "[time_point log_msg]") {
|
||||
|
||||
spdlog::source_loc source{};
|
||||
std::chrono::system_clock::time_point tp{std::chrono::system_clock::now()};
|
||||
test_sink->set_pattern("%T.%F"); // interested in the time_point
|
||||
test_sink->set_pattern("%T.%F"); // interested in the time_point
|
||||
|
||||
// all the following should have the same time
|
||||
test_sink->set_delay(std::chrono::milliseconds(10));
|
||||
@@ -22,7 +22,7 @@ TEST_CASE("time_point1", "[time_point log_msg]") {
|
||||
logger.log(tp, source, spdlog::level::info, "formatted message");
|
||||
logger.log(tp, source, spdlog::level::info, "formatted message");
|
||||
logger.log(source, spdlog::level::info,
|
||||
"formatted message"); // last line has different time_point
|
||||
"formatted message"); // last line has different time_point
|
||||
|
||||
// now the real test... that the times are the same.
|
||||
std::vector<std::string> lines = test_sink->lines();
|
||||
|
Reference in New Issue
Block a user