mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Removed redundant const
(also fixed test counts)
This commit is contained in:
		| @@ -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 ) ); | ||||
| }         | ||||
|  | ||||
| /////////////////////////////////////////////////////////////////////////////// | ||||
|   | ||||
| @@ -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 ); | ||||
|         } | ||||
|  | ||||
|   | ||||
| @@ -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 ) ); | ||||
| } | ||||
|  | ||||
| /////////////////////////////////////////////////////////////////////////////// | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Phil Nash
					Phil Nash