@@ -1349,7 +1349,7 @@ namespace Catch {
13491349
13501350 // ResultWas::OfType enum
13511351 struct ResultWas { enum OfType {
1352- Unknownn = -1,
1352+ Unknown = -1,
13531353 Ok = 0,
13541354 Info = 1,
13551355 Warning = 2,
@@ -1572,7 +1572,7 @@ namespace Catch {
15721572 };
15731573
15741574 template<typename E>
1575- std::string convertUnknownnEnumToString ( E e );
1575+ std::string convertUnknownEnumToString ( E e );
15761576
15771577 template<typename T>
15781578 typename std::enable_if<
@@ -1591,7 +1591,7 @@ namespace Catch {
15911591 typename std::enable_if<
15921592 std::is_enum<T>::value
15931593 , std::string>::type convertUnstreamable( T const& value ) {
1594- return convertUnknownnEnumToString ( value );
1594+ return convertUnknownEnumToString ( value );
15951595 }
15961596
15971597#if defined(_MANAGED)
@@ -1644,7 +1644,7 @@ namespace Catch {
16441644 }
16451645
16461646 template<typename E>
1647- std::string convertUnknownnEnumToString ( E e ) {
1647+ std::string convertUnknownEnumToString ( E e ) {
16481648 return ::Catch::Detail::stringify(static_cast<typename std::underlying_type<E>::type>(e));
16491649 }
16501650
@@ -10134,7 +10134,7 @@ namespace {
1013410134 case Colour::Bright: CATCH_INTERNAL_ERROR( "not a colour" );
1013510135
1013610136 default:
10137- CATCH_ERROR( "Unknownn colour requested" );
10137+ CATCH_ERROR( "Unknown colour requested" );
1013810138 }
1013910139 }
1014010140
@@ -10195,7 +10195,7 @@ namespace {
1019510195 case Colour::BrightYellow: return setColour( "[1;33m" );
1019610196
1019710197 case Colour::Bright: CATCH_INTERNAL_ERROR( "not a colour" );
10198- default: CATCH_INTERNAL_ERROR( "Unknownn colour requested" );
10198+ default: CATCH_INTERNAL_ERROR( "Unknown colour requested" );
1019910199 }
1020010200 }
1020110201 static IColourImpl* instance() {
@@ -10721,7 +10721,7 @@ namespace Catch {
1072110721 return msg;
1072210722 }
1072310723 catch(...) {
10724- return "Unknownn exception";
10724+ return "Unknown exception";
1072510725 }
1072610726 }
1072710727
@@ -11596,7 +11596,7 @@ namespace Floating {
1159611596 case FloatingPointKind::Double:
1159711597 return almostEqualUlps<double>(matchee, m_target, m_ulps);
1159811598 default:
11599- CATCH_INTERNAL_ERROR( "Unknownn FloatingPointKind value" );
11599+ CATCH_INTERNAL_ERROR( "Unknown FloatingPointKind value" );
1160011600 }
1160111601 }
1160211602
@@ -12809,7 +12809,7 @@ namespace Catch {
1280912809 }
1281012810 void RunContext::resetAssertionInfo() {
1281112811 m_lastAssertionInfo.macroName = StringRef();
12812- m_lastAssertionInfo.capturedExpression = "{Unknownn expression after the reported line}"_sr;
12812+ m_lastAssertionInfo.capturedExpression = "{Unknown expression after the reported line}"_sr;
1281312813 }
1281412814
1281512815 bool RunContext::sectionStarted(SectionInfo const & sectionInfo, Counts & assertions) {
@@ -14471,7 +14471,7 @@ namespace TestCaseTracking {
1447114471 CATCH_INTERNAL_ERROR( "Illogical state: " << m_runState );
1447214472
1447314473 default:
14474- CATCH_INTERNAL_ERROR( "Unknownn state: " << m_runState );
14474+ CATCH_INTERNAL_ERROR( "Unknown state: " << m_runState );
1447514475 }
1447614476 moveToParent();
1447714477 m_ctx.completeCycle();
@@ -15416,7 +15416,7 @@ namespace Catch {
1541615416 case WildcardAtBothEnds:
1541715417 return contains( normaliseString( str ), m_pattern );
1541815418 default:
15419- CATCH_INTERNAL_ERROR( "Unknownn enum" );
15419+ CATCH_INTERNAL_ERROR( "Unknown enum" );
1542015420 }
1542115421 }
1542215422
@@ -15957,7 +15957,7 @@ class AssertionPrinter {
1595715957 printRemainingMessages(Colour::None);
1595815958 break;
1595915959 // These cases are here to prevent compiler warnings
15960- case ResultWas::Unknownn :
15960+ case ResultWas::Unknown :
1596115961 case ResultWas::FailureBit:
1596215962 case ResultWas::Exception:
1596315963 printResultType(Colour::Error, "** internal error **");
@@ -16194,7 +16194,7 @@ class ConsoleAssertionPrinter {
1619416194 messageLabel = "explicitly with messages";
1619516195 break;
1619616196 // These cases are here to prevent compiler warnings
16197- case ResultWas::Unknownn :
16197+ case ResultWas::Unknown :
1619816198 case ResultWas::FailureBit:
1619916199 case ResultWas::Exception:
1620016200 passOrFail = "** internal error **";
@@ -17030,7 +17030,7 @@ namespace Catch {
1703017030 case ResultWas::Info:
1703117031 case ResultWas::Warning:
1703217032 case ResultWas::Ok:
17033- case ResultWas::Unknownn :
17033+ case ResultWas::Unknown :
1703417034 case ResultWas::FailureBit:
1703517035 case ResultWas::Exception:
1703617036 elementName = "internalError";
0 commit comments