From: Zachary Turner Date: Fri, 18 Dec 2015 22:58:42 +0000 (+0000) Subject: Fix invalid enum comparison. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=dd7bdbf1bb4aad37c22fdde1d44b50323c74eb99;p=clang Fix invalid enum comparison. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@256055 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/Format/FormatTest.cpp b/unittests/Format/FormatTest.cpp index ec53c65821..1f09ee3d51 100644 --- a/unittests/Format/FormatTest.cpp +++ b/unittests/Format/FormatTest.cpp @@ -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",