]> granicus.if.org Git - clang/commitdiff
Add config parsing test for new parameter.
authorDaniel Jasper <djasper@google.com>
Thu, 16 May 2013 12:16:23 +0000 (12:16 +0000)
committerDaniel Jasper <djasper@google.com>
Thu, 16 May 2013 12:16:23 +0000 (12:16 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182001 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Format/FormatTest.cpp

index 26097f35e2fac67fa303652117c34b8d8f78438e..c9201328d96a2aa02db8ec5d3887fdaa66d062f6 100644 (file)
@@ -4233,6 +4233,7 @@ TEST_F(FormatTest, ParsesConfiguration) {
   CHECK_PARSE_BOOL(AlignEscapedNewlinesLeft);
   CHECK_PARSE_BOOL(AllowAllParametersOfDeclarationOnNextLine);
   CHECK_PARSE_BOOL(AllowShortIfStatementsOnASingleLine);
+  CHECK_PARSE_BOOL(AllowShortLoopsOnASingleLine);
   CHECK_PARSE_BOOL(BinPackParameters);
   CHECK_PARSE_BOOL(ConstructorInitializerAllOnOneLineOrOnePerLine);
   CHECK_PARSE_BOOL(DerivePointerBinding);