clang-format: [Java] Don't break imports.

This fixes llvm.org/PR21453.

llvm-svn: 221112
This commit is contained in:
Daniel Jasper
2014-11-02 22:13:03 +00:00
parent dfa8688082
commit 5e7be1d536
2 changed files with 8 additions and 3 deletions

View File

@@ -163,5 +163,10 @@ TEST_F(FormatTestJava, SynchronizedKeyword) {
"}");
}
TEST_F(FormatTestJava, ImportDeclarations) {
verifyFormat("import some.really.loooooooooooooooooooooong.imported.Class;",
getStyleWithColumns(50));
}
} // end namespace tooling
} // end namespace clang