mirror of
https://github.com/catchorg/Catch2.git
synced 2025-06-04 19:08:12 +00:00
Some toString cleanups
This commit is contained in:
parent
32186db1b0
commit
b0545d1f12
5 changed files with 8 additions and 10 deletions
|
@ -219,10 +219,9 @@ std::string toString( std::nullptr_t );
|
|||
std::ostringstream oss;
|
||||
oss << "{ ";
|
||||
if( first != last ) {
|
||||
oss << toString( *first );
|
||||
for( ++first ; first != last ; ++first ) {
|
||||
oss << ", " << toString( *first );
|
||||
}
|
||||
oss << Catch::toString( *first );
|
||||
for( ++first ; first != last ; ++first )
|
||||
oss << ", " << Catch::toString( *first );
|
||||
}
|
||||
oss << " }";
|
||||
return oss.str();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue