From 438f0e1f00ada4827d8138dd236e850b26c4141f Mon Sep 17 00:00:00 2001 From: Marek Kurdej Date: Mon, 31 Jan 2022 09:04:26 +0100 Subject: [PATCH] [clang-format] Use EXPECT_EQ instead of setting style to a default value. NFC. --- clang/unittests/Format/FormatTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index cf20a70..bbe3f53 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp @@ -16562,7 +16562,7 @@ TEST_F(FormatTest, AlignConsecutiveAssignments) { "y = 1;\n", Alignment); - Alignment.ReflowComments = true; + EXPECT_EQ(Alignment.ReflowComments, true); Alignment.ColumnLimit = 50; EXPECT_EQ("int x = 0;\n" "int yy = 1; /// specificlennospace\n" -- 2.7.4