summaryrefslogtreecommitdiffstats
path: root/unittests
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2014-11-26 12:31:19 +0000
committerDaniel Jasper <djasper@google.com>2014-11-26 12:31:19 +0000
commit572143c0e038397c63b32e39d4e1975c281bd27c (patch)
tree898e77702c7fb2b91ba5f1c5abdc4be00f11f17b /unittests
parent6d16545c1084dbec7f7752b73b7e54117e2e9b69 (diff)
clang-format: [Java] Improve formatting of throws declarations.
Before: public void doSoooooooooo() throws LoooooooooongException, LooooooooooongException {} After: public void doSoooooooooo() throws LoooooooooongException, LooooooooooongException {} git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@222829 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests')
-rw-r--r--unittests/Format/FormatTestJava.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/unittests/Format/FormatTestJava.cpp b/unittests/Format/FormatTestJava.cpp
index 674c13b516..b99dec73ee 100644
--- a/unittests/Format/FormatTestJava.cpp
+++ b/unittests/Format/FormatTestJava.cpp
@@ -202,6 +202,8 @@ TEST_F(FormatTestJava, ArrayInitializers) {
TEST_F(FormatTestJava, ThrowsDeclarations) {
verifyFormat("public void doSooooooooooooooooooooooooooomething()\n"
" throws LooooooooooooooooooooooooooooongException {}");
+ verifyFormat("public void doSooooooooooooooooooooooooooomething()\n"
+ " throws LoooooooooongException, LooooooooooongException {}");
}
TEST_F(FormatTestJava, Annotations) {