[clang] 92ef408 - [clang-format] Delete a redundant newline at the end of a test case

Owen Pan via cfe-commits cfe-commits at lists.llvm.org
Fri Feb 16 01:47:58 PST 2024


Author: Owen Pan
Date: 2024-02-16T01:47:49-08:00
New Revision: 92ef40874d58d4fca4b7657c31ab2538e1301f26

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

LOG: [clang-format] Delete a redundant newline at the end of a test case

It slipped in from commit fa6025e25b57.

Added: 
    

Modified: 
    clang/unittests/Format/FormatTest.cpp

Removed: 
    


################################################################################
diff  --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index b0687eaecb10fe..d9e369296eed16 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -5019,7 +5019,7 @@ TEST_F(FormatTest, DesignatedInitializers) {
                "             .b = 2,\n"
                "         },\n"
                "     }) {\n"
-               "}\n");
+               "}");
 }
 
 TEST_F(FormatTest, BracedInitializerIndentWidth) {


        


More information about the cfe-commits mailing list