commit | 502fac38e9611a77ab8c1cdd13df9341ede7b8b7 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Wed Nov 05 10:55:36 2014 +0000 |
committer | Daniel Jasper <djasper@google.com> | Wed Nov 05 10:55:36 2014 +0000 |
tree | 70e0ccf6261e61291fca06c03a19a397029896f5 | |
parent | 680b09ba8825311dc0fad69ed166a21e3f83bcbe [diff] [blame] |
clang-format: Add test to prevent regression in r221125. llvm-svn: 221339
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 9e63bd1..b94d0f5 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp
@@ -1964,7 +1964,8 @@ verifyFormat("enum E { // comment\n" " ONE,\n" " TWO\n" - "};"); + "};\n" + "int i;"); } TEST_F(FormatTest, FormatsEnumsWithErrors) {