mirror of
https://github.com/catchorg/Catch2.git
synced 2025-08-01 12:55:40 +02:00
Tweaked rawMemoryToString() along lines of suggestion in #281
This commit is contained in:
@@ -123,3 +123,10 @@ TEST_CASE( "sends information to INFO", "[.][failing]" )
|
||||
CAPTURE( i );
|
||||
REQUIRE( false );
|
||||
}
|
||||
|
||||
TEST_CASE( "Pointers can be converted to strings", "[messages][.]" )
|
||||
{
|
||||
int p;
|
||||
WARN( "actual address of p: " << &p );
|
||||
WARN( "toString(p): " << Catch::toString( &p ) );
|
||||
}
|
||||
|
Reference in New Issue
Block a user