mirror of
https://github.com/intel/llvm.git
synced 2026-01-26 12:26:52 +08:00
clang-format: [Java] Don't break imports.
This fixes llvm.org/PR21453. llvm-svn: 221112
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user