mirror of
https://github.com/gabime/spdlog.git
synced 2025-09-28 17:19:34 +08:00
clang-format
This commit is contained in:
@@ -46,9 +46,12 @@ std::size_t count_lines(const std::string &filename)
|
||||
|
||||
void require_message_count(const std::string &filename, const std::size_t messages)
|
||||
{
|
||||
if (strlen(spdlog::details::os::default_eol) == 0) {
|
||||
if (strlen(spdlog::details::os::default_eol) == 0)
|
||||
{
|
||||
REQUIRE(count_lines(filename) == 1);
|
||||
} else {
|
||||
}
|
||||
else
|
||||
{
|
||||
REQUIRE(count_lines(filename) == messages);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user