summaryrefslogtreecommitdiffstats
path: root/clang/unittests/Format/FormatTest.cpp
diff options
context:
space:
mode:
authorDaniel Jasper <djasper@google.com>2015-12-14 08:33:07 +0000
committerDaniel Jasper <djasper@google.com>2015-12-14 08:33:07 +0000
commit96cbb502b796018f407882cc3686a695ac972489 (patch)
tree58e5b7913c7364ddc812e2b9d94891fc288bc129 /clang/unittests/Format/FormatTest.cpp
parente87f5cf4ef419fb837efc04185bb54ee61272ff3 (diff)
downloadbcm5719-llvm-96cbb502b796018f407882cc3686a695ac972489.tar.gz
bcm5719-llvm-96cbb502b796018f407882cc3686a695ac972489.zip
clang-format: Extend Linux-brace-wrapping test.
llvm-svn: 255485
Diffstat (limited to 'clang/unittests/Format/FormatTest.cpp')
-rw-r--r--clang/unittests/Format/FormatTest.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/clang/unittests/Format/FormatTest.cpp b/clang/unittests/Format/FormatTest.cpp
index 09deed9fec8..ecaf8d804f6 100644
--- a/clang/unittests/Format/FormatTest.cpp
+++ b/clang/unittests/Format/FormatTest.cpp
@@ -9003,6 +9003,8 @@ TEST_F(FormatTest, LinuxBraceBreaking) {
" if (true) {\n"
" a();\n"
" b();\n"
+ " } else {\n"
+ " a();\n"
" }\n"
" }\n"
" void g() { return; }\n"
OpenPOWER on IntegriCloud