r256055 - Fix invalid enum comparison.
Zachary Turner via cfe-commits
cfe-commits at lists.llvm.org
Fri Dec 18 14:58:42 PST 2015
Author: zturner
Date: Fri Dec 18 16:58:42 2015
New Revision: 256055
URL: http://llvm.org/viewvc/llvm-project?rev=256055&view=rev
Log:
Fix invalid enum comparison.
Modified:
cfe/trunk/unittests/Format/FormatTest.cpp
Modified: cfe/trunk/unittests/Format/FormatTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/Format/FormatTest.cpp?rev=256055&r1=256054&r2=256055&view=diff
==============================================================================
--- cfe/trunk/unittests/Format/FormatTest.cpp (original)
+++ cfe/trunk/unittests/Format/FormatTest.cpp Fri Dec 18 16:58:42 2015
@@ -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",
More information about the cfe-commits
mailing list