Replaces some 600 EXPECT_EQ() to verifyFormat() or verifyNoChange() in FormatTest.cpp because the former neither checks stability of formatting nor tests formatting C++ as Objective C.
Also marks dozens of unstable test cases with FIXME comments.
Paths
| Differential D159051
[clang-format][NFC] Change EXPECT_EQ to verifyFormat or verifyNoChang ClosedPublic Authored by owenpan on Aug 28 2023, 7:42 PM.
Details Summary Replaces some 600 EXPECT_EQ() to verifyFormat() or verifyNoChange() in FormatTest.cpp because the former neither checks stability of formatting nor tests formatting C++ as Objective C. Also marks dozens of unstable test cases with FIXME comments.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptAug 28 2023, 7:42 PM
This revision is now accepted and ready to land.Aug 29 2023, 12:26 PM Closed by commit rG8b131d2e1480: [clang-format][NFC] Change EXPECT_EQ to verifyFormat or verifyNoChange (authored by owenpan). · Explain WhyAug 30 2023, 1:07 PM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 554815 clang/unittests/Format/FormatTest.cpp
|
To be consistent with the surrounding test cases. (Will fix it before landing.)