diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index cf20a70e6cdf32..bbe3f53807e623 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"