mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-26 07:16:10 +01:00
Removed redundant const
(also fixed test counts)
This commit is contained in:
parent
861a1e79cf
commit
83a66a6255
@ -131,7 +131,7 @@ inline std::string toString
|
|||||||
char* const value
|
char* const value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return Catch::toString( static_cast<const char* const>( value ) );
|
return Catch::toString( static_cast<const char*>( value ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
@ -43,7 +43,7 @@ TEST_CASE( "selftest/main", "Runs all Catch self tests and checks their results"
|
|||||||
"Number of 'succeeding' tests is fixed" )
|
"Number of 'succeeding' tests is fixed" )
|
||||||
{
|
{
|
||||||
runner.runMatching( "./succeeding/*" );
|
runner.runMatching( "./succeeding/*" );
|
||||||
CHECK( runner.getTotals().assertions.passed == 272 );
|
CHECK( runner.getTotals().assertions.passed == 276 );
|
||||||
CHECK( runner.getTotals().assertions.failed == 0 );
|
CHECK( runner.getTotals().assertions.failed == 0 );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1405,7 +1405,7 @@ inline std::string toString
|
|||||||
char* const value
|
char* const value
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return Catch::toString( static_cast<const char* const>( value ) );
|
return Catch::toString( static_cast<const char*>( value ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////
|
||||||
|
Loading…
Reference in New Issue
Block a user