Removes some 500 newlines (\n and \r\n) at the end of test cases in FormatTest.cpp.
Also changes a few verifyFormat() to verifyNoChange() in tests InsertNewlineAtEOF and WhitespaceSensitiveMacros as messUp() removes trailing newlines as well.
Paths
| Differential D158805
[clang-format][NFC] Remove extraneous newlines at end of test cases ClosedPublic Authored by owenpan on Aug 24 2023, 7:33 PM.
Details Summary Removes some 500 newlines (\n and \r\n) at the end of test cases in FormatTest.cpp. Also changes a few verifyFormat() to verifyNoChange() in tests InsertNewlineAtEOF and WhitespaceSensitiveMacros as messUp() removes trailing newlines as well.
Diff Detail
Event TimelineHerald added projects: Restricted Project, Restricted Project, Restricted Project. · View Herald TranscriptAug 24 2023, 7:33 PM
owenpan added inline comments.
This revision is now accepted and ready to land.Aug 25 2023, 3:15 PM This revision was landed with ongoing or failed builds.Aug 25 2023, 3:32 PM Closed by commit rGf8838f85e13e: [clang-format][NFC] Remove extraneous newlines at end of test cases (authored by owenpan). · Explain Why This revision was automatically updated to reflect the committed changes. owenpan marked an inline comment as done.
Revision Contents
Diff 553649 clang/unittests/Format/FormatTest.cpp
|
This.