Tweaked rawMemoryToString() along lines of suggestion in #281

This commit is contained in:
Phil Nash 2014-05-23 18:41:02 +01:00
parent 48fac9cf01
commit 7cbf74061b
3 changed files with 46 additions and 33 deletions

View file

@ -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 ) );
}