commit | 47b35aeaa14567eb1b5ed82a73f575f18afe3fa5 | [log] [tgz] |
---|---|---|
author | Daniel Jasper <djasper@google.com> | Thu Jan 29 10:47:14 2015 +0000 |
committer | Daniel Jasper <djasper@google.com> | Thu Jan 29 10:47:14 2015 +0000 |
tree | e168e4dc9290a79f96f8f7a9e858c5ca262efb35 | |
parent | 310e3a8f608fbd9162e42cc50fe316af6713113c [diff] [blame] |
clang-format: Fix crasher caused by not properly setting dry-run. llvm-svn: 227427
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp index 65a7bff..f099f20 100644 --- a/clang/unittests/Format/FormatTest.cpp +++ b/clang/unittests/Format/FormatTest.cpp
@@ -3081,6 +3081,8 @@ " if (aaaaaaaaaaaaaaaaaaaaaaaa) return;\n" "}, a);", Style); + + verifyNoCrash("^{v^{a}}"); } TEST_F(FormatTest, IndividualStatementsOfNestedBlocks) {