mirror of
				https://github.com/catchorg/Catch2.git
				synced 2025-10-31 20:27:11 +01:00 
			
		
		
		
	Fix double-to-float conversion warning in tests
This commit is contained in:
		| @@ -21,7 +21,7 @@ TEST_CASE( "tuple<float,int>", "[toString][tuple][c++11][.]" ) | ||||
| { | ||||
|     typedef std::tuple<float,int> type; | ||||
|     CHECK( "1.2f" == Catch::toString(float(1.2)) ); | ||||
|     CHECK( "{ 1.2f, 0 }" == Catch::toString(type{1.2,0}) ); | ||||
|     CHECK( "{ 1.2f, 0 }" == Catch::toString(type{1.2f,0}) ); | ||||
| } | ||||
|  | ||||
| TEST_CASE( "tuple<string,string>", "[toString][tuple][c++11][.]" ) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Martin Hořeňovský
					Martin Hořeňovský