Skip to content

Commit 438f0e1

Browse files
committed
[clang-format] Use EXPECT_EQ instead of setting style to a default value. NFC.
1 parent c8fbf80 commit 438f0e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/Format/FormatTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16562,7 +16562,7 @@ TEST_F(FormatTest, AlignConsecutiveAssignments) {
1656216562
"y = 1;\n",
1656316563
Alignment);
1656416564

16565-
Alignment.ReflowComments = true;
16565+
EXPECT_EQ(Alignment.ReflowComments, true);
1656616566
Alignment.ColumnLimit = 50;
1656716567
EXPECT_EQ("int x = 0;\n"
1656816568
"int yy = 1; /// specificlennospace\n"

0 commit comments

Comments
 (0)