clang-format: In Java, assert is followed by an expression.
Before: assert a&& b; Now: assert a && b; llvm-svn: 247750
This commit is contained in:
@@ -393,6 +393,11 @@ TEST_F(FormatTestJava, SynchronizedKeyword) {
|
||||
"}");
|
||||
}
|
||||
|
||||
TEST_F(FormatTestJava, AssertKeyword) {
|
||||
verifyFormat("assert a && b;");
|
||||
}
|
||||
|
||||
|
||||
TEST_F(FormatTestJava, PackageDeclarations) {
|
||||
verifyFormat("package some.really.loooooooooooooooooooooong.package;",
|
||||
getStyleWithColumns(50));
|
||||
|
||||
Reference in New Issue
Block a user