mirror of
https://github.com/catchorg/Catch2.git
synced 2025-05-25 14:09:26 +00:00
Tweaked rawMemoryToString() along lines of suggestion in #281
This commit is contained in:
parent
48fac9cf01
commit
7cbf74061b
3 changed files with 46 additions and 33 deletions
|
@ -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 ) );
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue