From 572143c0e038397c63b32e39d4e1975c281bd27c Mon Sep 17 00:00:00 2001 From: Daniel Jasper Date: Wed, 26 Nov 2014 12:31:19 +0000 Subject: 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 --- unittests/Format/FormatTestJava.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'unittests') 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) { -- cgit v1.2.3