mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-23 13:09:28 +00:00
ToStringTuple - gcc doesn't like tuple init_list ctor
This commit is contained in:
parent
13cbdf7e7d
commit
f559a51926
1 changed files with 1 additions and 1 deletions
|
@ -33,7 +33,7 @@ TEST_CASE( "tuple<string,string>", "[toString][tuple]" )
|
|||
TEST_CASE( "tuple<tuple<int>,tuple<>,float>", "[toString][tuple]" )
|
||||
{
|
||||
typedef std::tuple<std::tuple<int>,std::tuple<>,float> type;
|
||||
type value { {42}, {}, 1.2f };
|
||||
type value { std::tuple<int>{42}, {}, 1.2f };
|
||||
CHECK( "{ { 42 }, { }, 1.2f }" == Catch::toString(value) );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue