mirror of
https://github.com/catchorg/Catch2.git
synced 2024-11-22 13:26:10 +01:00
Fix double-to-float conversion warning in tests
This commit is contained in:
parent
be0fc60c07
commit
b245eaa7d1
@ -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][.]" )
|
||||
|
Loading…
Reference in New Issue
Block a user