From f9c172301974a26a9a33ccb559506e9848437b42 Mon Sep 17 00:00:00 2001 From: Alexey Ochapov Date: Sun, 29 Nov 2020 17:49:18 +0300 Subject: [PATCH] remove redundant scope block in CompileTimeFormattingTest::Combination test --- test/compile-test.cc | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/test/compile-test.cc b/test/compile-test.cc index 85b09ae9..660f4fb1 100644 --- a/test/compile-test.cc +++ b/test/compile-test.cc @@ -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