diff options
author | Daniel Jasper <djasper@google.com> | 2013-01-29 09:42:11 +0000 |
---|---|---|
committer | Daniel Jasper <djasper@google.com> | 2013-01-29 09:42:11 +0000 |
commit | 8df364fc0b3d89fb4ea632c6824a121a8c7752a5 (patch) | |
tree | 984cb6f6c51be159c5cad7f8dd8162b1416da206 /unittests/Format/FormatTest.cpp | |
parent | 4cd81c5bf5957b2b10ddf253035f6e1596082108 (diff) |
Remove empty lines before "}".
Those empty lines waste vertical whitespace and almost never
increase readability.
Before:
void f() {
DoSomething();
}
After:
void f() {
DoSomething();
}
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@173785 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTest.cpp')
-rw-r--r-- | unittests/Format/FormatTest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index 63110bbfbe..ef242d7258 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -136,6 +136,7 @@ TEST_F(FormatTest, FormatsUnwrappedLinesAtFirstFormat) { TEST_F(FormatTest, FormatsNestedBlockStatements) { EXPECT_EQ("{\n {\n {}\n }\n}", format("{{{}}}")); + EXPECT_EQ("{\n {\n {}\n }\n}", format("{{{}}\n\n}")); } TEST_F(FormatTest, FormatsNestedCall) { |