[clang] e9acf00 - [clang-format] Put a "trailing" space back in a unit test

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Tue May 9 14:42:41 PDT 2023


Author: Owen Pan
Date: 2023-05-09T14:42:32-07:00
New Revision: e9acf001e98b22ad4127155a5756402101c47795

URL: https://github.com/llvm/llvm-project/commit/e9acf001e98b22ad4127155a5756402101c47795
DIFF: https://github.com/llvm/llvm-project/commit/e9acf001e98b22ad4127155a5756402101c47795.diff

LOG: [clang-format] Put a "trailing" space back in a unit test

Put an intentional "trailing" space back in
FormatTestComments.SplitCommentIntroducers. It was removed in
a4c87f8ccacc by mistake.

Added: 
    

Modified: 
    clang/unittests/Format/FormatTestComments.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Format/FormatTestComments.cpp b/clang/unittests/Format/FormatTestComments.cpp
index 6e5b5b2d68d81..0cf7aaaa4bdb2 100644
--- a/clang/unittests/Format/FormatTestComments.cpp
+++ b/clang/unittests/Format/FormatTestComments.cpp
@@ -4316,7 +4316,7 @@ TEST_F(FormatTestComments, SplitCommentIntroducers) {
 )",
             format(R"(//
 /\
-/
+/ 
   )",
                    getLLVMStyleWithColumns(10)));
 }


        


More information about the cfe-commits mailing list