[PATCH] D158805: [clang-format][NFC] Remove extraneous newlines at end of test cases

Owen Pan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 24 19:33:10 PDT 2023


owenpan created this revision.
Herald added projects: All, clang, clang-format.
Herald added a subscriber: cfe-commits.
Herald added reviewers: rymiel, HazardyKnusperkeks, MyDeveloperDay.
owenpan requested review of this revision.

Removes some 500 newlines (`\n` and `\r\n`) at the end of test cases in FormatTest.cpp.

Also changes a `verifyFormat()` to `verifyNoChange()` in test `InsertNewlineAtEOF` as `messUp()` removes the trailing newline as well.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D158805

Files:
  clang/unittests/Format/FormatTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D158805.553328.patch
Type: text/x-patch
Size: 116039 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230825/1a82aa48/attachment-0001.bin>


More information about the cfe-commits mailing list