]> granicus.if.org Git - clang/commitdiff
Fix invalid enum comparison.
authorZachary Turner <zturner@google.com>
Fri, 18 Dec 2015 22:58:42 +0000 (22:58 +0000)
committerZachary Turner <zturner@google.com>
Fri, 18 Dec 2015 22:58:42 +0000 (22:58 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256055 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Format/FormatTest.cpp

index ec53c6582165adea7f7b9681d9942e02aaaf9fb4..1f09ee3d5130e43a2779dcb58b3c3e8c06696367 100644 (file)
@@ -9889,7 +9889,7 @@ TEST_F(FormatTest, ParsesConfiguration) {
   CHECK_PARSE("AlwaysBreakAfterReturnType: All", AlwaysBreakAfterReturnType,
               FormatStyle::RTBS_All);
   CHECK_PARSE("AlwaysBreakAfterReturnType: TopLevel",
-              AlwaysBreakAfterReturnType, FormatStyle::DRTBS_TopLevel);
+              AlwaysBreakAfterReturnType, FormatStyle::RTBS_TopLevel);
   CHECK_PARSE("AlwaysBreakAfterReturnType: AllDefinitions",
               AlwaysBreakAfterReturnType, FormatStyle::RTBS_AllDefinitions);
   CHECK_PARSE("AlwaysBreakAfterReturnType: TopLevelDefinitions",