Removed redundant const

(also fixed test counts)
This commit is contained in:
Phil Nash 2012-04-28 12:39:15 +01:00
parent 861a1e79cf
commit 83a66a6255
3 changed files with 3 additions and 3 deletions

View File

@ -131,7 +131,7 @@ inline std::string toString
char* const value
)
{
return Catch::toString( static_cast<const char* const>( value ) );
return Catch::toString( static_cast<const char*>( value ) );
}
///////////////////////////////////////////////////////////////////////////////

View File

@ -43,7 +43,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
"Number of 'succeeding' tests is fixed" )
{
runner.runMatching( "./succeeding/*" );
CHECK( runner.getTotals().assertions.passed == 272 );
CHECK( runner.getTotals().assertions.passed == 276 );
CHECK( runner.getTotals().assertions.failed == 0 );
}

View File

@ -1405,7 +1405,7 @@ inline std::string toString
char* const value
)
{
return Catch::toString( static_cast<const char* const>( value ) );
return Catch::toString( static_cast<const char*>( value ) );
}
///////////////////////////////////////////////////////////////////////////////