SunStudio 12.3 support: variadic macros

This commit is contained in:
Wiscy
2016-11-30 20:12:31 +01:00
committed by Wiscy
parent d89dc2d5ad
commit 941f8de99a
2 changed files with 4 additions and 2 deletions

View File

@@ -30,7 +30,7 @@ TEST_CASE( "std::pair<int,const std::string> -> toString", "[toString][pair]" )
TEST_CASE( "std::vector<std::pair<std::string,int> > -> toString", "[toString][pair]" ) {
std::vector<std::pair<std::string,int> > pr;
pr.push_back( std::make_pair("green", 55 ) );
pr.push_back( std::make_pair(std::string("green"), 55 ) );
REQUIRE( Catch::toString( pr ) == "{ { \"green\", 55 } }" );
}