clang-format
This commit is contained in:
parent
b2735eb30c
commit
3bfcb0468e
@ -16,7 +16,6 @@ static std::string log_to_str(const std::string &msg, const Args &... args)
|
|||||||
return oss.str();
|
return oss.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE("custom eol", "[pattern_formatter]")
|
TEST_CASE("custom eol", "[pattern_formatter]")
|
||||||
{
|
{
|
||||||
std::string msg = "Hello custom eol test";
|
std::string msg = "Hello custom eol test";
|
||||||
@ -208,7 +207,7 @@ TEST_CASE("clone-default-formatter", "[pattern_formatter]")
|
|||||||
formatter_1->format(msg, formatted_1);
|
formatter_1->format(msg, formatted_1);
|
||||||
formatter_2->format(msg, formatted_2);
|
formatter_2->format(msg, formatted_2);
|
||||||
|
|
||||||
REQUIRE( fmt::to_string(formatted_1) == fmt::to_string(formatted_2));
|
REQUIRE(fmt::to_string(formatted_1) == fmt::to_string(formatted_2));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("clone-default-formatter2", "[pattern_formatter]")
|
TEST_CASE("clone-default-formatter2", "[pattern_formatter]")
|
||||||
@ -223,7 +222,7 @@ TEST_CASE("clone-default-formatter2", "[pattern_formatter]")
|
|||||||
formatter_1->format(msg, formatted_1);
|
formatter_1->format(msg, formatted_1);
|
||||||
formatter_2->format(msg, formatted_2);
|
formatter_2->format(msg, formatted_2);
|
||||||
|
|
||||||
REQUIRE( fmt::to_string(formatted_1) == fmt::to_string(formatted_2));
|
REQUIRE(fmt::to_string(formatted_1) == fmt::to_string(formatted_2));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST_CASE("clone-formatter", "[pattern_formatter]")
|
TEST_CASE("clone-formatter", "[pattern_formatter]")
|
||||||
@ -240,7 +239,6 @@ TEST_CASE("clone-formatter", "[pattern_formatter]")
|
|||||||
REQUIRE(fmt::to_string(formatted_1) == fmt::to_string(formatted_2));
|
REQUIRE(fmt::to_string(formatted_1) == fmt::to_string(formatted_2));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
TEST_CASE("clone-formatter-2", "[pattern_formatter]")
|
TEST_CASE("clone-formatter-2", "[pattern_formatter]")
|
||||||
{
|
{
|
||||||
using spdlog::pattern_time_type;
|
using spdlog::pattern_time_type;
|
||||||
|
Loading…
Reference in New Issue
Block a user