diff options
Diffstat (limited to 'clang/unittests/Format/FormatTestJava.cpp')
-rw-r--r-- | clang/unittests/Format/FormatTestJava.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/clang/unittests/Format/FormatTestJava.cpp b/clang/unittests/Format/FormatTestJava.cpp index 60111b1..a47bfca 100644 --- a/clang/unittests/Format/FormatTestJava.cpp +++ b/clang/unittests/Format/FormatTestJava.cpp @@ -140,8 +140,9 @@ TEST_F(FormatTestJava, Generics) { verifyFormat("A.<B>doSomething();"); verifyFormat("@Override\n" - "public Map<String, ?> getAll() {\n" - "}"); + "public Map<String, ?> getAll() {\n}"); + + verifyFormat("public static <R> ArrayList<R> get() {\n}"); } TEST_F(FormatTestJava, StringConcatenation) { |