summaryrefslogtreecommitdiffstats
path: root/unittests/Format/FormatTestJava.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-12-02 13:24:51 +0000
committerDaniel Jasper <djasper@google.com>2014-12-02 13:24:51 +0000
commitf6babddc8724f616a504cf7a9b2c93f8d91e3b2b (patch)
treef4b8f45c73e99dd4fffa10e437ebec0e321071c6 /unittests/Format/FormatTestJava.cpp
parent8a112fe4f65b88e53c85ed91c27f2974189d73ca (diff)
clang-format: Add option to suppress operator alignment.
With alignment: int aaaaaa = aa + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb * cccccccccccccccccccccccccccccccc; Without alignment: int aaaaaa = aa + bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb * cccccccccccccccccccccccccccccccc; This fixes llvm.org/PR21666. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@223117 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Format/FormatTestJava.cpp')
-rw-r--r--unittests/Format/FormatTestJava.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Format/FormatTestJava.cpp b/unittests/Format/FormatTestJava.cpp
index 95d1961804..ad80d1377a 100644
--- a/unittests/Format/FormatTestJava.cpp
+++ b/unittests/Format/FormatTestJava.cpp
@@ -291,7 +291,7 @@ TEST_F(FormatTestJava, Generics) {
TEST_F(FormatTestJava, StringConcatenation) {
verifyFormat("String someString = \"abc\"\n"
- " + \"cde\";");
+ " + \"cde\";");
}
TEST_F(FormatTestJava, TryCatchFinally) {