remove redundant scope block in CompileTimeFormattingTest::Combination test

This commit is contained in:
Alexey Ochapov 2020-11-29 17:49:18 +03:00
parent af8bcb9fe5
commit f9c1723019
No known key found for this signature in database
GPG Key ID: 9DC52E8F031B8DA8

View File

@ -235,10 +235,8 @@ TEST(CompileTimeFormattingTest, String) {
}
TEST(CompileTimeFormattingTest, Combination) {
{
constexpr auto result =
test_format<18>(FMT_COMPILE("{}, {}, {}"), 420, true, "answer");
EXPECT_EQ(result, "420, true, answer");
}
constexpr auto result =
test_format<18>(FMT_COMPILE("{}, {}, {}"), 420, true, "answer");
EXPECT_EQ(result, "420, true, answer");
}
#endif