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:
Nico Weber
2015-09-15 23:48:17 +00:00
parent 8a5526e8be
commit 4f11349028
3 changed files with 8 additions and 1 deletions

View File

@@ -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));