mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-30 00:17:52 +00:00
Split original/ expanded expressions over multiple lines
This commit is contained in:
parent
eac51f38bd
commit
86ad6348d4
3 changed files with 2409 additions and 1055 deletions
|
@ -121,7 +121,7 @@ inline std::string toString( bool value ) {
|
|||
|
||||
inline std::string toString( char value ) {
|
||||
return value < ' '
|
||||
? toString( (unsigned int)value )
|
||||
? toString( static_cast<unsigned int>( value ) )
|
||||
: Detail::makeString( value );
|
||||
}
|
||||
|
||||
|
@ -129,6 +129,10 @@ inline std::string toString( signed char value ) {
|
|||
return toString( static_cast<char>( value ) );
|
||||
}
|
||||
|
||||
inline std::string toString( unsigned char value ) {
|
||||
return toString( static_cast<char>( value ) );
|
||||
}
|
||||
|
||||
#ifdef CATCH_CONFIG_CPP11_NULLPTR
|
||||
inline std::string toString( std::nullptr_t ) {
|
||||
return "nullptr";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue